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

#include <occtl_mesh.h>

Collaboration diagram for occtl_polygon_on_tri_view:

Public Attributes

const uint32_t * node_indices
 
size_t node_count
 
const double * parameters
 
double deflection
 
occtl_uid_t source_uid
 

Detailed Description

Zero-copy view of a coedge polyline indexed onto its parent face's triangulation.

node_indices entries are 0-indexed into the nodes array of the parent face's triangulation. Buffers are materialised on first read into a per-coedge cache.

Zero-copy span/view per ABI ยง10.2; pointer fields borrow from a per-graph internal cache; lifetime matches occtl_triangulation_view_t.

Member Data Documentation

◆ deflection

double occtl_polygon_on_tri_view::deflection

Polygon deflection.

◆ node_count

size_t occtl_polygon_on_tri_view::node_count

Number of polyline nodes.

◆ node_indices

const uint32_t* occtl_polygon_on_tri_view::node_indices

0-indexed indices into the parent face triangulation, length node_count.

◆ parameters

const double* occtl_polygon_on_tri_view::parameters

Curve parameter per node, length node_count, or NULL when absent.

◆ source_uid

occtl_uid_t occtl_polygon_on_tri_view::source_uid

UID of the parent coedge.


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