<< Prev        Next >>

ID : 255

T2P

Function

To convert homogeneous translation type data into position type data.

Syntax

T2P(homogeneous translation type data)

Guaranteed entry

Homogeneous translation type data
Designate Homogeneous Translation Type data.

Return value

Return Position Type data.

Description

Homogeneous translation type data are converted into position type data.

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

Related Terms

J2P, J2T, P2J, P2T, T2J

Attention

If the designated homogeneous translation type data is data that cannot be normalized, an Error level 1 occurs. You may use the "On Error" statement to create an error processing routine. Refer to "On Error."

Example

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

  Dim aaa As Trans
  Dim bbb As Position

  ' Acquisition of current position
  aaa = CurTrn

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

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

End Sub

ID : 255

<< Prev        Next >>