|
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 | circumradius |
| int32_t | sides |
| double | rotation |
Info for occtl_prim_make_regular_polygon.
Builds a closed sides-sided wire inscribed in a circle of radius circumradius lying in the XY plane of placement. rotation offsets the first vertex from the placement's X axis (radians).
| double occtl_prim_regular_polygon_info::circumradius |
Radius of the circumscribing circle; strictly positive.
| const void* occtl_prim_regular_polygon_info::p_next |
Reserved; must be NULL.
| occtl_axis2_placement_t occtl_prim_regular_polygon_info::placement |
Centre and orientation; defaults to XOY.
| double occtl_prim_regular_polygon_info::rotation |
Angle of the first vertex above the X axis (radians).
| int32_t occtl_prim_regular_polygon_info::sides |
Number of sides; >= 3.
| uint32_t occtl_prim_regular_polygon_info::struct_version |
Must be OCCTL_PRIM_REGULAR_POLYGON_INFO_VERSION_1.