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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_slot_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
occtl_axis2_placement_t placement
 
double length
 
double width
 

Detailed Description

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).

Member Data Documentation

◆ length

double occtl_prim_slot_info::length

Overall length along X; strictly > width.

◆ p_next

const void* occtl_prim_slot_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_slot_info::placement

Centre + plane; defaults to XOY.

◆ struct_version

uint32_t occtl_prim_slot_info::struct_version

Must be OCCTL_PRIM_SLOT_INFO_VERSION_1.

◆ width

double occtl_prim_slot_info::width

Width along Y; strictly positive.


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