|
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 | center |
| double | radius |
| occtl_aabb3_t | bounds |
| double | max_distance |
Sphere-like normal-connected triangle component.
The sphere is represented by center and positive radius. max_distance is the largest absolute radial residual among all component triangle vertices.
| double occtl_mesh_triangle_sphere_component::area |
Total component area.
| occtl_aabb3_t occtl_mesh_triangle_sphere_component::bounds |
Axis-aligned bounds of all component triangle vertices.
| occtl_point3_t occtl_mesh_triangle_sphere_component::center |
Fitted sphere centre.
| uint32_t occtl_mesh_triangle_sphere_component::component_id |
Source normal-connected component ID.
| double occtl_mesh_triangle_sphere_component::max_distance |
Maximum absolute radial residual.
| double occtl_mesh_triangle_sphere_component::radius |
Fitted sphere radius.
| uint32_t occtl_mesh_triangle_sphere_component::triangle_count |
Number of triangles in this component.