|
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 |
| const occtl_point3_t * | points |
| size_t | point_count |
| int32_t | is_periodic |
| double | tolerance |
Versioned create-info struct for curve interpolation.
Interpolates a B-spline curve passing through the given points. Uses OCCT's GeomAPI_Interpolate internally, which computes uniform parameters and creates a C2 continuous cubic B-spline.
| int32_t occtl_curve_interpolated_info::is_periodic |
0 = non-periodic; 1 = periodic.
| const void* occtl_curve_interpolated_info::p_next |
Reserved; must be NULL.
| size_t occtl_curve_interpolated_info::point_count |
Number of interpolation points.
| const occtl_point3_t* occtl_curve_interpolated_info::points |
[in] Borrows it; count = point_count.
| uint32_t occtl_curve_interpolated_info::struct_version |
Must be OCCTL_CURVE_INTERPOLATED_INFO_VERSION_1.
| double occtl_curve_interpolated_info::tolerance |
Interpolation tolerance.