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