<< Prev        Next >>

ID : 247

OVec

Function

To return an orient vector.

Syntax

OVec(homogeneous translation type)

Guaranteed entry

Homogeneous translation type
Designate homogeneous translation type data.

Return value

Return orient vector by vector type data.

Description

Orient vector is extracted from homogeneous translation type data.

ReturnValue = OVec( T(X, Y, Z, Ox, Oy, Oz, Ax, Ay, Az, Fig))
'ReturnValue : V(Ox, Oy, Oz)

Attention

-

Example

'!TITLE "Acquiring Orient Vector"
' Acquisition of orient vector in the current position
Sub Sample_OVec

  Dim aaa As Trans
  Dim bbb As Vector

  aaa = CurTrn

  ' Assign orient vector in the current position to bbb
  bbb = OVec( aaa )

  ' Display orient vector in the current position on the message output window
  PrintDbg bbb

End Sub

ID : 247

<< Prev        Next >>