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

#include <occtl_prim_sweep.h>

Collaboration diagram for occtl_prim_prism_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_node_id_t profile
 
occtl_vector3_t direction
 
int32_t copy
 
int32_t canonize
 

Detailed Description

Info for occtl_prim_make_prism.

Linearly extrudes profile by vector direction. The profile may be a Vertex, Edge, Wire, Face, or Shell of graph; the result kind is one step higher in dimension (Vertex→Edge, Edge→Face, Wire→Shell, Face→Solid, Shell→CompSolid).

Member Data Documentation

◆ canonize

int32_t occtl_prim_prism_info::canonize

0/1. When 1, swept surfaces are canonised to simple types. Default 1.

◆ copy

int32_t occtl_prim_prism_info::copy

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

◆ direction

occtl_vector3_t occtl_prim_prism_info::direction

Extrusion vector (length = sweep distance).

◆ p_next

const void* occtl_prim_prism_info::p_next

Reserved for extensions; must be NULL.

◆ profile

occtl_node_id_t occtl_prim_prism_info::profile

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

◆ struct_version

uint32_t occtl_prim_prism_info::struct_version

Must be OCCTL_PRIM_PRISM_INFO_VERSION_1.


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