|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_prim_sketch.h>

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_axis2_placement_t | placement |
| double | length |
| double | width |
Info for occtl_prim_make_slot.
Builds a closed "stadium" (slot) wire: two straight edges along the X axis of placement connected by two semicircular arcs at the ends. The slot is centred on placement.location with overall length length along X and width width along Y. The two end caps each have radius width / 2; therefore length must be strictly greater than width (else there is no straight section).
| double occtl_prim_slot_info::length |
Overall length along X; strictly > width.
| const void* occtl_prim_slot_info::p_next |
Reserved; must be NULL.
| occtl_axis2_placement_t occtl_prim_slot_info::placement |
Centre + plane; defaults to XOY.
| uint32_t occtl_prim_slot_info::struct_version |
Must be OCCTL_PRIM_SLOT_INFO_VERSION_1.
| double occtl_prim_slot_info::width |
Width along Y; strictly positive.