<< Prev        Next >>

ID : 270

RVec

Function

To return posture components from position type data.

Syntax

RVec(position type data)

Guaranteed entry

Position type data
Designate position type data.

Return value

Return posture components (Rx, Ry, Rz) by vector type data.

Description

Posture components are returned from position type data.

Related Terms

PVec, Fig

Attention

-

Example

'!TITLE "Acquiring Posture"
' Acquisition of current posture
Sub Sample_RVec

  Dim aaa As Position
  Dim bbb As Vector

  aaa = CurPos

  ' Assign aaa posture to bbb
  bbb = RVec( aaa )

  ' Display the current posture on the message output window
  PrintDbg bbb

End Sub

ID : 270

<< Prev        Next >>