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

#include <occtl_mesh.h>

Collaboration diagram for occtl_polygon3d_view:

Public Attributes

const double * nodes
 
size_t node_count
 
const double * parameters
 
double deflection
 
occtl_uid_t source_uid
 

Detailed Description

Zero-copy view of a 3D polyline cached on an edge.

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

parameters carries the curve parameter at each polyline node when one was stored alongside the polyline, NULL otherwise.

Member Data Documentation

◆ deflection

double occtl_polygon3d_view::deflection

Polygon deflection.

◆ node_count

size_t occtl_polygon3d_view::node_count

Number of polyline nodes.

◆ nodes

const double* occtl_polygon3d_view::nodes

xyz interleaved doubles, length 3 * node_count.

◆ parameters

const double* occtl_polygon3d_view::parameters

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

◆ source_uid

occtl_uid_t occtl_polygon3d_view::source_uid

UID of the parent edge.


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