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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_rectangle_info:

Public Attributes

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

Detailed Description

Info for occtl_prim_make_rectangle.

Builds a closed four-edge wire centred on placement.location, with width along the placement's X axis and height along its Y axis.

Member Data Documentation

◆ height

double occtl_prim_rectangle_info::height

Extent along the placement Y axis; strictly positive.

◆ p_next

const void* occtl_prim_rectangle_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_rectangle_info::placement

Centre and orientation; defaults to XOY.

◆ struct_version

uint32_t occtl_prim_rectangle_info::struct_version

Must be OCCTL_PRIM_RECTANGLE_INFO_VERSION_1.

◆ width

double occtl_prim_rectangle_info::width

Extent along the placement X axis; strictly positive.


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