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

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_axis2_placement_t | placement |
| double | radius |
| double | height |
| double | angle |
Info for occtl_prim_make_cylinder.
The cylinder axis is the Z axis of placement; the base sits at placement.location and the cap at placement.location + height * Z. angle < 2*pi yields a partial cylinder.
| double occtl_prim_cylinder_info::angle |
Sweep angle in radians; default 2*pi.
| double occtl_prim_cylinder_info::height |
Height along Z; strictly positive.
| const void* occtl_prim_cylinder_info::p_next |
Reserved for extensions; must be NULL.
| occtl_axis2_placement_t occtl_prim_cylinder_info::placement |
Local frame; axis = Z.
| double occtl_prim_cylinder_info::radius |
Radius; strictly positive.
| uint32_t occtl_prim_cylinder_info::struct_version |
Must be OCCTL_PRIM_CYLINDER_INFO_VERSION_1.