<< Prev        Next >>

ID : 266

PosRx

Function

To return X-axis rotation component.

Syntax

PosRx(position data)

Guaranteed entry

Position data
Designate position type data to specify the position.

Return value

Return the Rx component by single precision real number type data.

Description

Rx component is extracted from the data representing the position and returned by single precision real number type data. Position data that can be designated as argument is only position type data.

Related Terms

PosX, PosY, PosZ, PosRy, PosRz, LetX, LetY, LetZ

Attention

-

Example

'!TITLE "Acquiring X-axis Rotation Component"
' Acquiring X-axis rotation component in the current position
Sub Sample_PosRX

  Dim aaa As Single
  Dim bbb As Position

  bbb = CurPos

  ' Assign X-axis rotation component of bbb to aaa
  aaa = PosRX( bbb )

  ' Display X-axis rotation component in the current position on the message output window
  PrintDbg aaa

End Sub

ID : 266

<< Prev        Next >>