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

Public Attributes | |
| const occtl_mesh_triangle_component_boundary_edge_t * | edges |
| size_t | edge_count |
| const occtl_mesh_triangle_component_boundary_chain_t * | chains |
| size_t | chain_count |
| uint32_t | component_id |
| occtl_node_id_t | root |
Borrowed graph-owned ordered boundary-chain view for one triangle component.
Edges are oriented so edges[i].node1 equals edges[i+1].node0 inside each chain. Chain descriptors provide contiguous ranges into edges. The buffer remains valid until graph is mutated, freed, or occtl_mesh_triangle_component_boundary_chains is called again on the same graph.
| size_t occtl_mesh_triangle_component_boundary_chains_view::chain_count |
Number of boundary chains.
| const occtl_mesh_triangle_component_boundary_chain_t* occtl_mesh_triangle_component_boundary_chains_view::chains |
Boundary chains, length chain_count.
| uint32_t occtl_mesh_triangle_component_boundary_chains_view::component_id |
Component ID selected by the caller.
| size_t occtl_mesh_triangle_component_boundary_chains_view::edge_count |
Number of ordered boundary edges.
| const occtl_mesh_triangle_component_boundary_edge_t* occtl_mesh_triangle_component_boundary_chains_view::edges |
Ordered boundary edges, length edge_count.
| occtl_node_id_t occtl_mesh_triangle_component_boundary_chains_view::root |
Root used for extraction, or OCCTL_NODE_ID_INVALID for whole graph.