10-8
10.6 Rotation Component
LETRX (Statement)
Function
Assigns a value to the X axis rotation component of the position type.
Format
LETRX <Position type variable> = <X axis rotation angle>
Explanation
The statement starts with LETRX and the right side of the expression is an X
axis rotation angle. By the execution of this assignment, the X axis rotation
component of <Position type variable> is changed to the value of <X-axis
rotation angle>.
Related Terms
LETRY, LETRZ, LETR
Example
DEFPOS lp1, lp2, lp3
DEFSNG lf1, lf2
LETRX lp1 = POSRX(lp3) 'Assigns the X axis rotation component of lp3 to that of
lp1.
LETRX lp2 = lf1 - lf2 'Assigns the value of (lf1 - lf2) to the X axis rotation
'component of lp2.
Comments to this Manuals