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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_polyline_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
const occtl_point3_tpoints
 
size_t point_count
 
int32_t closed
 

Detailed Description

Info for occtl_prim_make_polyline.

Builds an open or closed wire from a sequence of straight-line edges threaded between points (a polygon wire).

Member Data Documentation

◆ closed

int32_t occtl_prim_polyline_info::closed

0/1. When 1, a closing segment from last to first point is added.

◆ p_next

const void* occtl_prim_polyline_info::p_next

Reserved for extensions; must be NULL.

◆ point_count

size_t occtl_prim_polyline_info::point_count

Length of points.

◆ points

const occtl_point3_t* occtl_prim_polyline_info::points

Borrows it. Array of vertex coordinates; >= 2 points.

◆ struct_version

uint32_t occtl_prim_polyline_info::struct_version

Must be OCCTL_PRIM_POLYLINE_INFO_VERSION_1.


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