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

#include <occtl_mesh.h>

Public Attributes

uint32_t first_point
 
uint32_t point_count
 
int32_t is_closed
 

Detailed Description

Ordered boundary polyline descriptor for one triangle component.

Polylines index into the ordered point array returned by occtl_mesh_component_boundary_polylines. Closed polylines repeat the first point as the final point so consumers can draw or build closed loops without consulting the edge array.

Member Data Documentation

◆ first_point

uint32_t occtl_mesh_component_boundary_polyline::first_point

First point index in the ordered point array.

◆ is_closed

int32_t occtl_mesh_component_boundary_polyline::is_closed

1 for a closed loop, 0 for an open chain.

◆ point_count

uint32_t occtl_mesh_component_boundary_polyline::point_count

Number of points in this polyline.


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