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