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

#include <occtl_prim_solid.h>

Collaboration diagram for occtl_prim_cylinder_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_axis2_placement_t placement
 
double radius
 
double height
 
double angle
 

Detailed Description

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.

Member Data Documentation

◆ angle

double occtl_prim_cylinder_info::angle

Sweep angle in radians; default 2*pi.

◆ height

double occtl_prim_cylinder_info::height

Height along Z; strictly positive.

◆ p_next

const void* occtl_prim_cylinder_info::p_next

Reserved for extensions; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_cylinder_info::placement

Local frame; axis = Z.

◆ radius

double occtl_prim_cylinder_info::radius

Radius; strictly positive.

◆ struct_version

uint32_t occtl_prim_cylinder_info::struct_version

Must be OCCTL_PRIM_CYLINDER_INFO_VERSION_1.


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