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

#include <occtl_geom.h>

Collaboration diagram for occtl_axis2_placement_t:

Public Attributes

occtl_point3_t location
 
occtl_direction3_t x_dir
 
occtl_direction3_t x_dir_ref
 

Detailed Description

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.

Note
x_dir_ref must not be parallel to x_dir, otherwise occtl_transform_from_axis2 returns OCCTL_GEOMETRY_INVALID.

Member Data Documentation

◆ location

occtl_point3_t occtl_axis2_placement_t::location

Origin of the frame.

◆ x_dir

occtl_direction3_t occtl_axis2_placement_t::x_dir

Main (X) axis direction.

◆ x_dir_ref

occtl_direction3_t occtl_axis2_placement_t::x_dir_ref

Reference direction in the XY plane (not necessarily orthogonal to x_dir).


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