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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_tube_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_axis2_placement_t placement
 
double outer_radius
 
double inner_radius
 
double height
 

Detailed Description

Info for occtl_prim_make_tube.

Builds a Solid hollow cylinder with outer radius outer_radius and inner radius inner_radius, centred on placement.location and extruded along placement's Z axis by height. Internally a rectangular cross-section is revolved a full turn around the placement Z axis. Both annular caps are present in the resulting Solid.

Member Data Documentation

◆ height

double occtl_prim_tube_info::height

Height along placement Z; strictly positive.

◆ inner_radius

double occtl_prim_tube_info::inner_radius

Strictly > 0.

◆ outer_radius

double occtl_prim_tube_info::outer_radius

Strictly > inner_radius > 0.

◆ p_next

const void* occtl_prim_tube_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_tube_info::placement

Local frame; axis = Z.

◆ struct_version

uint32_t occtl_prim_tube_info::struct_version

Must be OCCTL_PRIM_TUBE_INFO_VERSION_1.


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