vector
- Last UpdatedJan 20, 2026
- 1 minute read
Express Format:
ENTITY vector;
|
magnitude : |
REAL; |
|
direction_ratios : |
LIST [2:3] OF REAL; |
END_ENTITY;
TRI/2 File Format:
#6045=vector(34.56, (0.0, 1.0, 0.0);
Number of Attributes: 2
Description:
A vector is defined in terms of the direction ratios and the magnitude. The value of the magnitude attribute defines the magnitude of the vector.
|
magnitude : |
The magnitude of the vector |
|
direction_ratios[1] |
The component in direction of the X axis |
|
direction_ratios[2] |
The component in direction of the Y axis |
|
direction_ratios[3] |
The component in direction of the Z axis |
TRI Format:
none