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

#include <occtl_geom.h>

Collaboration diagram for occtl_axis3_placement_t:

Public Attributes

occtl_point3_t location
 
occtl_direction3_t x_dir
 
occtl_direction3_t y_dir
 
occtl_direction3_t z_dir
 

Detailed Description

3-axis placement — a general coordinate frame with all three axes stored explicitly (no derivation). Use this when the consumer needs to round-trip an arbitrary, possibly left-handed, frame.

Note
The library does not enforce orthonormality or right-handedness; it is the caller's responsibility to provide valid directions. occtl_transform_from_axis3 validates and returns OCCTL_GEOMETRY_INVALID for a singular (linearly dependent) frame.

Member Data Documentation

◆ location

occtl_point3_t occtl_axis3_placement_t::location

Origin of the frame.

◆ x_dir

occtl_direction3_t occtl_axis3_placement_t::x_dir

X axis direction.

◆ y_dir

occtl_direction3_t occtl_axis3_placement_t::y_dir

Y axis direction.

◆ z_dir

occtl_direction3_t occtl_axis3_placement_t::z_dir

Z axis direction.


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