|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_prim_sketch.h>

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_axis2_placement_t | placement |
| const occtl_point3_t * | points |
| size_t | point_count |
| const occtl_node_id_t * | vertices |
| size_t | vertex_count |
| double | tolerance |
| int32_t | make_face |
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.
| int32_t occtl_prim_convex_hull_2d_info::make_face |
0/1; when 1 returns a planar Face, otherwise a Wire.
| const void* occtl_prim_convex_hull_2d_info::p_next |
Reserved; must be NULL.
| occtl_axis2_placement_t occtl_prim_convex_hull_2d_info::placement |
Sketch plane frame; defaults to global XOY.
| size_t occtl_prim_convex_hull_2d_info::point_count |
Length of points.
| const occtl_point3_t* occtl_prim_convex_hull_2d_info::points |
Borrows it. Optional point array.
| uint32_t occtl_prim_convex_hull_2d_info::struct_version |
Must be OCCTL_PRIM_CONVEX_HULL_2D_INFO_VERSION_1.
| double occtl_prim_convex_hull_2d_info::tolerance |
Positive duplicate/collinearity tolerance.
| size_t occtl_prim_convex_hull_2d_info::vertex_count |
Length of vertices.
| const occtl_node_id_t* occtl_prim_convex_hull_2d_info::vertices |
Borrows it. Optional Vertex node array.