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

#include <occtl_mesh.h>

Collaboration diagram for occtl_mesh_component_boundary_polylines_view:

Public Attributes

const occtl_point3_tpoints
 
size_t point_count
 
const occtl_mesh_component_boundary_polyline_tpolylines
 
size_t polyline_count
 
uint32_t component_id
 
occtl_node_id_t root
 

Detailed Description

Borrowed graph-owned ordered boundary-polyline view for one triangle component.

Points are copied from the aggregate triangle-buffer node coordinates and ordered according to occtl_mesh_triangle_component_boundary_chains. The buffer remains valid until graph is mutated, freed, or occtl_mesh_component_boundary_polylines is called again on the same graph.

Member Data Documentation

◆ component_id

uint32_t occtl_mesh_component_boundary_polylines_view::component_id

Component ID selected by the caller.

◆ point_count

size_t occtl_mesh_component_boundary_polylines_view::point_count

Number of ordered polyline points.

◆ points

const occtl_point3_t* occtl_mesh_component_boundary_polylines_view::points

Ordered polyline points, length point_count.

◆ polyline_count

size_t occtl_mesh_component_boundary_polylines_view::polyline_count

Number of boundary polylines.

◆ polylines

const occtl_mesh_component_boundary_polyline_t* occtl_mesh_component_boundary_polylines_view::polylines

Polyline descriptors, length polyline_count.

◆ root

occtl_node_id_t occtl_mesh_component_boundary_polylines_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: