|
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 | dx |
| double | dy |
| double | dz |
Info for occtl_prim_make_box.
Constructs an axis-aligned parallelepiped of size dx by dy by dz with one corner at placement.location and edges aligned to the frame axes derived from placement. The default placement is the global XOY frame (origin at (0,0,0), Z up, X along +x), so casual callers can construct an axis-aligned box at the origin by editing only the three dimensions.
| double occtl_prim_box_info::dx |
Edge length along the frame X axis.
| double occtl_prim_box_info::dy |
Edge length along the frame Y axis.
| double occtl_prim_box_info::dz |
Edge length along the frame Z axis.
| const void* occtl_prim_box_info::p_next |
Reserved for extensions; must be NULL.
| occtl_axis2_placement_t occtl_prim_box_info::placement |
Local frame; defaults to XOY.
| uint32_t occtl_prim_box_info::struct_version |
Must be OCCTL_PRIM_BOX_INFO_VERSION_1.