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

#include <occtl_prim_sketch.h>

Collaboration diagram for occtl_prim_plane_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_plane.

Builds a planar Face on the XY plane of placement, bounded by a rectangle of width by height centred on placement.location. Equivalent to building a rectangle wire and feeding it to occtl_prim_make_planar_face, but built directly for slightly less topology churn.

Member Data Documentation

◆ height

double occtl_prim_plane_info::height

Extent along placement Y; strictly positive.

◆ p_next

const void* occtl_prim_plane_info::p_next

Reserved; must be NULL.

◆ placement

occtl_axis2_placement_t occtl_prim_plane_info::placement

Centre + plane; defaults to XOY.

◆ struct_version

uint32_t occtl_prim_plane_info::struct_version

Must be OCCTL_PRIM_PLANE_INFO_VERSION_1.

◆ width

double occtl_prim_plane_info::width

Extent along placement X; strictly positive.


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