TINV
(Function)
Calculates an inverse matrix of homogeneous transformation type data.
TINV(<homogeneous trans matrix>[ ,<TINV option>])
This statement inversely transforms the data designated in <homogeneous transformation type>.
<TINV option> is an omissible Result storage variable that should be an integer variable (Ver. 3.0 or later). Specifying this option does not stop programs even if execution of the TINV causes an internal error, but assigns the error code into the specified variable.
DEFTRN lt1, lt2, Lt3
|
|
lt1 = TINV(350, 0, 450, 0, 1, 0, 0, 0, -1)
|
|
|
'Assigns the inverse matrix of (350, 0, 450, 0, 1, 0, 0, 0,
'-1) to lt1.
|
lt2 = TINV(lt3)
|
'Assigns the inverse matrix of lt3 to lt2.
|
lt2 = TINV(lt1,li1)
|
'If execution of TINV fails, assign the error code into
'variable li1 and then go to the next step.
|