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

Public Attributes | |
| const uint32_t * | triangles |
| size_t | triangle_count |
| uint32_t | component_id |
| occtl_node_id_t | root |
Borrowed graph-owned triangle-index view for one component.
Triangle indices refer to the aggregate triangle order returned by occtl_mesh_triangle_buffers for the same root/options. The buffer remains valid until graph is mutated, freed, or occtl_mesh_triangle_component_triangles is called again on the same graph.
| uint32_t occtl_mesh_triangle_component_triangles_view::component_id |
Component ID selected by the caller.
| occtl_node_id_t occtl_mesh_triangle_component_triangles_view::root |
Root used for extraction, or OCCTL_NODE_ID_INVALID for whole graph.
| size_t occtl_mesh_triangle_component_triangles_view::triangle_count |
Number of triangle indices.
| const uint32_t* occtl_mesh_triangle_component_triangles_view::triangles |
Triangle indices in the component, length triangle_count.