OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_direction3_t Struct Reference

#include <occtl_geom.h>

Public Attributes

double x
 
double y
 
double z
 

Detailed Description

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.

Member Data Documentation

◆ x

double occtl_direction3_t::x

X component (normalised).

◆ y

double occtl_direction3_t::y

Y component (normalised).

◆ z

double occtl_direction3_t::z

Z component (normalised).


The documentation for this struct was generated from the following file: