
15-38
15.11 Axis Component
POSX (Function) [Conforms to SLIM]
Function
Extracts the X-component.
Format
POSX ({<Position type>|<Vector type>})
Explanation
This statement extracts the X-component from position type or vector type
coordinates.
Related Terms
POSY, POSZ
Example
DIM lf1 As Single
DIM lp1 As Position
lf1 = POSX(lp1) 'Assigns the X-component of lp1 to lf1.
6-axis lf1 = POSX(lp1 + (100, 100, 100, 0, 0, 0) )
'Assigns the X-component of lp1 +
'(100, 100, 100, 0, 0, 0)to lf1.
4-axis lf1 = POSX(lp1 + (100, 100, 100, 0) )
'Assigns the X-component of lp1 +
'(100, 100, 100, 0)to lf1.
Kommentare zu diesen Handbüchern