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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_arc_center_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_axis2_placement_t placement
 
double radius
 
double start_angle
 
double end_angle
 

Detailed Description

Info for occtl_prim_make_arc_center.

Builds a single-edge wire on a circular arc defined by its supporting circle (placement + radius) and the start_angle / end_angle sweep (radians). end_angle > start_angle; the sweep direction follows the placement's Z axis (right-hand rule).

Member Data Documentation

◆ end_angle

double occtl_prim_arc_center_info::end_angle

Sweep end in radians; > start_angle.

◆ p_next

const void* occtl_prim_arc_center_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_arc_center_info::placement

Centre and orientation; defaults to XOY.

◆ radius

double occtl_prim_arc_center_info::radius

Strictly positive.

◆ start_angle

double occtl_prim_arc_center_info::start_angle

Sweep start in radians.

◆ struct_version

uint32_t occtl_prim_arc_center_info::struct_version

Must be OCCTL_PRIM_ARC_CENTER_INFO_VERSION_1.


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