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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_constrained_edge_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_rep_id_t curve
 
occtl_axis2_placement_t placement
 
int32_t use_parameter_range
 
double first_parameter
 
double last_parameter
 

Detailed Description

Info for occtl_prim_make_constrained_edge.

Projects a 2D curve handle (for example a tangent/blend solution from occtl_curves2d.h) onto a 3D sketch plane and builds one Edge from it. OCCT performs the 2D-to-3D conversion; OCCT-Light only validates the ABI inputs and inserts the resulting Edge into the graph. Unbounded curves such as 2D lines need an explicit finite parameter range.

Member Data Documentation

◆ curve

occtl_rep_id_t occtl_prim_constrained_edge_info::curve

Rep ID of the 2D curve to place on placement.

◆ first_parameter

double occtl_prim_constrained_edge_info::first_parameter

First curve parameter when use_parameter_range is 1.

◆ last_parameter

double occtl_prim_constrained_edge_info::last_parameter

Last curve parameter when use_parameter_range is 1.

◆ p_next

const void* occtl_prim_constrained_edge_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_constrained_edge_info::placement

Sketch plane frame; defaults to global XOY.

◆ struct_version

uint32_t occtl_prim_constrained_edge_info::struct_version

Must be OCCTL_PRIM_CONSTRAINED_EDGE_INFO_VERSION_1.

◆ use_parameter_range

int32_t occtl_prim_constrained_edge_info::use_parameter_range

0/1; when 1 use first_parameter / last_parameter.


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