|
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_rep_id_t | curve |
| occtl_axis2_placement_t | placement |
| int32_t | use_parameter_range |
| double | first_parameter |
| double | last_parameter |
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.
| occtl_rep_id_t occtl_prim_constrained_edge_info::curve |
Rep ID of the 2D curve to place on placement.
| double occtl_prim_constrained_edge_info::first_parameter |
First curve parameter when use_parameter_range is 1.
| double occtl_prim_constrained_edge_info::last_parameter |
Last curve parameter when use_parameter_range is 1.
| const void* occtl_prim_constrained_edge_info::p_next |
Reserved; must be NULL.
| occtl_axis2_placement_t occtl_prim_constrained_edge_info::placement |
Sketch plane frame; defaults to global XOY.
| uint32_t occtl_prim_constrained_edge_info::struct_version |
Must be OCCTL_PRIM_CONSTRAINED_EDGE_INFO_VERSION_1.
| int32_t occtl_prim_constrained_edge_info::use_parameter_range |
0/1; when 1 use first_parameter / last_parameter.