|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_geom.h>
Public Attributes | |
| double | x |
| double | y |
| double | z |
3D unit-direction vector.
Invariant: x²+y²+z²=1 within floating-point precision. Constructing a literal with non-unit coordinates is undefined behaviour. Use occtl_direction3_from_vector to build one safely.
| double occtl_direction3_t::x |
X component (normalised).
| double occtl_direction3_t::y |
Y component (normalised).
| double occtl_direction3_t::z |
Z component (normalised).