|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_geom.h>

Public Attributes | |
| occtl_point3_t | location |
| occtl_direction3_t | x_dir |
| occtl_direction3_t | x_dir_ref |
2-axis placement — a right-handed coordinate frame (STEP entity AXIS2_PLACEMENT_3D).
Stores an origin, an X (main) direction, and a reference direction in the XY plane. The Y direction is derived as the component of x_dir_ref orthogonal to x_dir; the Z direction is x_dir × Y.
x_dir_ref must not be parallel to x_dir, otherwise occtl_transform_from_axis2 returns OCCTL_GEOMETRY_INVALID. | occtl_point3_t occtl_axis2_placement_t::location |
Origin of the frame.
| occtl_direction3_t occtl_axis2_placement_t::x_dir |
Main (X) axis direction.
| occtl_direction3_t occtl_axis2_placement_t::x_dir_ref |
Reference direction in the XY plane (not necessarily orthogonal to x_dir).