<< Prev        Next >>

ID : 268

PosRz

Function

To return Z-axis rotation component.

Syntax

PosRz(position data)

Guaranteed entry

Position data
Designate position type data to specify the position.

Return value

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

Description

Rz 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, PosRx, PosRy, LetX, LetY, LetZ

Attention

-

Example

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

  Dim aaa As Single
  Dim bbb As Position

  bbb = CurPos

  ' Assign Z-axis rotation component of bbb to aaa
  aaa = PosRZ( bbb )

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

End Sub

ID : 268

<< Prev        Next >>