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

Public Attributes | |
| uint32_t | component_id |
| uint32_t | triangle_count |
| double | area |
| occtl_point3_t | axis_origin |
| occtl_vector3_t | axis_direction |
| double | radius |
| double | height_min |
| double | height_max |
| occtl_aabb3_t | bounds |
| double | max_distance |
Cylinder-like normal-connected triangle component.
The cylinder axis passes through axis_origin in unit direction axis_direction. height_min and height_max are the minimum and maximum vertex projections along that axis relative to axis_origin. max_distance is the largest absolute radial residual among all component triangle vertices.
| double occtl_mesh_triangle_cylinder_component::area |
Total component area.
| occtl_vector3_t occtl_mesh_triangle_cylinder_component::axis_direction |
Unit fitted cylinder axis direction.
| occtl_point3_t occtl_mesh_triangle_cylinder_component::axis_origin |
Point on the fitted cylinder axis.
| occtl_aabb3_t occtl_mesh_triangle_cylinder_component::bounds |
Axis-aligned bounds of all component triangle vertices.
| uint32_t occtl_mesh_triangle_cylinder_component::component_id |
Source normal-connected component ID.
| double occtl_mesh_triangle_cylinder_component::height_max |
Maximum vertex projection on axis.
| double occtl_mesh_triangle_cylinder_component::height_min |
Minimum vertex projection on axis.
| double occtl_mesh_triangle_cylinder_component::max_distance |
Maximum absolute radial residual.
| double occtl_mesh_triangle_cylinder_component::radius |
Fitted cylinder radius.
| uint32_t occtl_mesh_triangle_cylinder_component::triangle_count |
Number of triangles in this component.