<< Prev        Next >>

ID : 455

Vector Type

Data type expressing three-dimensional space vector. The number of elements is 3 (X, Y, and Z).

(X, Y, Z)

X, Y, Z
Represent X-, Y- and Z- coordinate values. Individual values are single precision real number type data.

Assignment of Immediate Data by Program Description

Immediate data expression can be described on a program as follows.

E.g. V(100,200,300)

V(X [, Y [, Z ]])

X
This is a required value representing the X coordinate value.
Y
This is an optional value that represents the Y coordinate value. If this is omitted, 0 is assigned.
Z
This is an optional value that represents the Z coordinate value. If this is omitted, 0 is assigned.

Global Variable

Global variable of vector type data is V type.

V10 = V(10, 20, 30)

Local Variable

Local variable of vector type data is defined by "Vector."

Dim aaa As Vector
aaa = V(100, 200, 300)

ID : 455

<< Prev        Next >>