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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_convex_hull_2d_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_axis2_placement_t placement
 
const occtl_point3_tpoints
 
size_t point_count
 
const occtl_node_id_tvertices
 
size_t vertex_count
 
double tolerance
 
int32_t make_face
 

Detailed Description

Info for occtl_prim_make_convex_hull_2d.

Builds a closed convex hull from explicit points and/or existing graph Vertex nodes projected into placement. The result is either a Wire or a planar Face depending on make_face. OCCT constructs the resulting topology; the hull ordering is a deterministic 2D projected ordering in the requested sketch plane.

Member Data Documentation

◆ make_face

int32_t occtl_prim_convex_hull_2d_info::make_face

0/1; when 1 returns a planar Face, otherwise a Wire.

◆ p_next

const void* occtl_prim_convex_hull_2d_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_convex_hull_2d_info::placement

Sketch plane frame; defaults to global XOY.

◆ point_count

size_t occtl_prim_convex_hull_2d_info::point_count

Length of points.

◆ points

const occtl_point3_t* occtl_prim_convex_hull_2d_info::points

Borrows it. Optional point array.

◆ struct_version

uint32_t occtl_prim_convex_hull_2d_info::struct_version

Must be OCCTL_PRIM_CONVEX_HULL_2D_INFO_VERSION_1.

◆ tolerance

double occtl_prim_convex_hull_2d_info::tolerance

Positive duplicate/collinearity tolerance.

◆ vertex_count

size_t occtl_prim_convex_hull_2d_info::vertex_count

Length of vertices.

◆ vertices

const occtl_node_id_t* occtl_prim_convex_hull_2d_info::vertices

Borrows it. Optional Vertex node array.


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