|
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 | degree_min |
| int32_t | degree_max |
| double | tolerance |
| int32_t | is_periodic |
Versioned create-info struct for curve approximation (fitting).
Fits a B-spline curve to the given points within the specified tolerance using OCCT's GeomAPI_PointsToBSpline. The resulting curve does not necessarily pass through the points; it approximates them.
| int32_t occtl_curve_approximated_info::degree_max |
Maximum degree for the B-spline.
| int32_t occtl_curve_approximated_info::degree_min |
Minimum degree for the B-spline (>= 1).
| int32_t occtl_curve_approximated_info::is_periodic |
0 = non-periodic; 1 = periodic (not yet supported).
| const void* occtl_curve_approximated_info::p_next |
Reserved; must be NULL.
| size_t occtl_curve_approximated_info::point_count |
Number of points to fit.
| const occtl_point3_t* occtl_curve_approximated_info::points |
[in] Borrows it; count = point_count.
| uint32_t occtl_curve_approximated_info::struct_version |
Must be OCCTL_CURVE_APPROXIMATED_INFO_VERSION_1.
| double occtl_curve_approximated_info::tolerance |
Approximation tolerance in 3D.