Values
vector
#include "dxfio/vector.hpp"In DxfIO
struct Vector
A point, or a direction such as an extrusion, in three dimensions.
| Field | Type | Meaning |
|---|---|---|
X | double | Along the x axis, in the point's own group code, such as 10. |
Y | double | Along the y axis, in the code ten above the x's, such as 20. |
Z | double | Along the z axis, in the code twenty above the x's, such as 30; zero for a point given in two dimensions. |
Constants
Right | Vector = .X = 1, .Y = 0, .Z = 0 | The unit x axis: the direction of a RAY or an XLINE, or the major axis of an ELLIPSE, until set. |
Up | Vector = .X = 0, .Y = 0, .Z = 1 | The unit z axis: the extrusion, or normal, of an entity whose file gives none. |