<< Prev        Next >>

ID : 253

P2T

Function

To convert position type data into homogeneous translation type data to return.

Syntax

P2T(position type data)

Guaranteed entry

Position type data
Designate Position Type data.

Return value

Return a Homogeneous Translation Type.

Description

Position type data are converted into homogeneous translation type data to return.

FIG value of the return value is inherited from the argument FIG value.

Related Terms

J2P, J2T, P2J, T2J, T2P

Attention

-

Example

'!TITLE "Conversion from Position Type to Homogeneous Translation Type"
' Convert the current position acquired in position type into homogeneous translation type
Sub Sample_P2T

  Dim aaa As Position
  Dim bbb As Joint

  ' Acquisition of current position
  aaa = CurPos

  ' Conversion from position type to homogeneous translation type
  bbb = P2T( aaa )

  ' Display the current position converted into homogeneous translation type on the message output window
  PrintDbg bbb

End Sub

ID : 253

<< Prev        Next >>