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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_revol_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t profile
 
occtl_axis1_placement_t axis
 
double angle
 
int32_t copy
 

Detailed Description

Info for occtl_prim_make_revol.

Revolves profile around axis by angle radians. Like prism, the result kind is one step higher in dimension. The default angle is 2*pi (full revolution).

Member Data Documentation

◆ angle

double occtl_prim_revol_info::angle

Sweep angle in radians; default 2*pi.

◆ axis

occtl_axis1_placement_t occtl_prim_revol_info::axis

Rotation axis.

◆ copy

int32_t occtl_prim_revol_info::copy

0/1. When 1, the profile is duplicated rather than shared.

◆ p_next

const void* occtl_prim_revol_info::p_next

Reserved for extensions; must be NULL.

◆ profile

occtl_node_id_t occtl_prim_revol_info::profile

Borrows it. Vertex/Edge/Wire/Face/Shell to revolve.

◆ struct_version

uint32_t occtl_prim_revol_info::struct_version

Must be OCCTL_PRIM_REVOL_INFO_VERSION_1.


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