|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_curves.h>
Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| double | max_camber |
| double | camber_position |
| double | thickness |
| double | chord_length |
| size_t | point_count |
| int32_t | finite_trailing_edge |
| int32_t | degree_min |
| int32_t | degree_max |
| double | tolerance |
Versioned create-info for a NACA 4-digit airfoil profile curve.
The generated profile lies in the XY plane with the leading edge at (0,0,0) and the chord along +X. Use curve transforms to place or scale it after construction.
| double occtl_curve_airfoil_naca4_info::camber_position |
Position of maximum camber as a chord fraction in [0,1].
| double occtl_curve_airfoil_naca4_info::chord_length |
Chord length in model units; must be > 0.
| int32_t occtl_curve_airfoil_naca4_info::degree_max |
Maximum B-spline degree for OCCT fitting; must be >= degree_min.
| int32_t occtl_curve_airfoil_naca4_info::degree_min |
Minimum B-spline degree for OCCT fitting; must be >= 1.
| int32_t occtl_curve_airfoil_naca4_info::finite_trailing_edge |
0/1; use NACA finite trailing-edge coefficient when non-zero.
| double occtl_curve_airfoil_naca4_info::max_camber |
Maximum camber as a chord fraction; must be >= 0.
| const void* occtl_curve_airfoil_naca4_info::p_next |
Reserved; must be NULL.
| size_t occtl_curve_airfoil_naca4_info::point_count |
Number of samples per side; must be >= 5.
| uint32_t occtl_curve_airfoil_naca4_info::struct_version |
Must be OCCTL_CURVE_AIRFOIL_NACA4_INFO_VERSION_1.
| double occtl_curve_airfoil_naca4_info::thickness |
Maximum thickness as a chord fraction; must be > 0.
| double occtl_curve_airfoil_naca4_info::tolerance |
OCCT approximation tolerance; must be >= 0.