10-12
10.7 Axis Component
LETX (Statement) [Conforms to SLIM]
Function
Assigns a value to the X axis component of the Vector type/ Position type/
Homogenous transformation type.
Format
LETX {<Vector type variable>|<Position type variable>|<Homogenous
transformation type variable>}= <X axis component>
Explanation
The statement starts with LETX and the right side of the expression is an X
axis component. By the execution of this assignment, the X-axis component of
<Vector type variable>, <Position type variable> or <Homogenous
transformation type variable> is changed to the value of <X-axis component>.
Related Terms
LETP, LETY, LETZ
Example
DEFPOS lp1, lp2
DEFVEC lv1, lv2
LETX lv1 = POSX(lv2) 'Assigns the X-axis component of lv2 to that of lv1.
LETX lp2 = POSX(lp2) 'Assigns the X-axis component of lp2 to that of lp1.
Comments to this Manuals