POSZ
(Function)
Extracts the Z-component.
POSZ ({<Position type>|<Vector type>})
This statement extracts the Z-component from position type or vector type coordinates.
DIM lf1 As Single
|
|
DIM lp1 As Position
|
|
lf1 = POSZ(lp1)
|
'Assigns the Z-component of lp1 to lf1.
|
6-axis
lf1 = POSZ(lp1 + (100, 100, 100, 0, 0, 0) )
|
'Assigns the Z-component of lp1 to lp1 +
'(100, 100, 100, 0, 0, 0).
|
4-axis
lf1 = POSZ(lp1 + (100, 100, 100, 0) )
|
'Assigns the Z-component of lp1 to lp1 +
'(100, 100, 100, 0).
|