<< Prev        Next >>

ID : 272

AreaSize

Function

To return the size (length of each side) of a detection area by vector type.

Syntax

AreaSize(Detection area number)

Guaranteed entry

Detection area number
Designate a detection area number (0-31) by integer type data.umber

Return value

Return the size (length of each side) of a detection area by vector type data.

Description

The size (length of each side of the cuboid) of a detection area used in the area function is returned by vector type data.

The size (length of each side) of a cuboid is twice the vector from the center point to a corner of the detection area.

Attention

-

Example

'!TITLE "Returning Size of Cuboid in Interference Check Area by Vector Type"
' Assign the size of cuboid in the area defined by the area number 1 to aaa
Sub Sample_AreaSize 

  Dim aaa As Vector

  ' Assign the size of cuboid to define the area of interference check to aaa
  aaa = AreaSize( 1 )

  ' Display the size of cuboid on the message output window
  PrintDbg aaa

End Sub

ID : 272

<< Prev        Next >>