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

#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
 

Detailed Description

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.

Member Data Documentation

◆ camber_position

double occtl_curve_airfoil_naca4_info::camber_position

Position of maximum camber as a chord fraction in [0,1].

◆ chord_length

double occtl_curve_airfoil_naca4_info::chord_length

Chord length in model units; must be > 0.

◆ degree_max

int32_t occtl_curve_airfoil_naca4_info::degree_max

Maximum B-spline degree for OCCT fitting; must be >= degree_min.

◆ degree_min

int32_t occtl_curve_airfoil_naca4_info::degree_min

Minimum B-spline degree for OCCT fitting; must be >= 1.

◆ finite_trailing_edge

int32_t occtl_curve_airfoil_naca4_info::finite_trailing_edge

0/1; use NACA finite trailing-edge coefficient when non-zero.

◆ max_camber

double occtl_curve_airfoil_naca4_info::max_camber

Maximum camber as a chord fraction; must be >= 0.

◆ p_next

const void* occtl_curve_airfoil_naca4_info::p_next

Reserved; must be NULL.

◆ point_count

size_t occtl_curve_airfoil_naca4_info::point_count

Number of samples per side; must be >= 5.

◆ struct_version

uint32_t occtl_curve_airfoil_naca4_info::struct_version

Must be OCCTL_CURVE_AIRFOIL_NACA4_INFO_VERSION_1.

◆ thickness

double occtl_curve_airfoil_naca4_info::thickness

Maximum thickness as a chord fraction; must be > 0.

◆ tolerance

double occtl_curve_airfoil_naca4_info::tolerance

OCCT approximation tolerance; must be >= 0.


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