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

#include <occtl_mesh.h>

Collaboration diagram for occtl_mesh_triangle_component_boundary_chains_view:

Public Attributes

const occtl_mesh_triangle_component_boundary_edge_tedges
 
size_t edge_count
 
const occtl_mesh_triangle_component_boundary_chain_tchains
 
size_t chain_count
 
uint32_t component_id
 
occtl_node_id_t root
 

Detailed Description

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.

Member Data Documentation

◆ chain_count

size_t occtl_mesh_triangle_component_boundary_chains_view::chain_count

Number of boundary chains.

◆ chains

const occtl_mesh_triangle_component_boundary_chain_t* occtl_mesh_triangle_component_boundary_chains_view::chains

Boundary chains, length chain_count.

◆ component_id

uint32_t occtl_mesh_triangle_component_boundary_chains_view::component_id

Component ID selected by the caller.

◆ edge_count

size_t occtl_mesh_triangle_component_boundary_chains_view::edge_count

Number of ordered boundary edges.

◆ edges

const occtl_mesh_triangle_component_boundary_edge_t* occtl_mesh_triangle_component_boundary_chains_view::edges

Ordered boundary edges, length edge_count.

◆ root

occtl_node_id_t occtl_mesh_triangle_component_boundary_chains_view::root

Root used for extraction, or OCCTL_NODE_ID_INVALID for whole graph.


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