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

#include <occtl_curves.h>

Collaboration diagram for occtl_curve_interpolated_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
const occtl_point3_tpoints
 
size_t point_count
 
int32_t is_periodic
 
double tolerance
 

Detailed Description

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.

Member Data Documentation

◆ is_periodic

int32_t occtl_curve_interpolated_info::is_periodic

0 = non-periodic; 1 = periodic.

◆ p_next

const void* occtl_curve_interpolated_info::p_next

Reserved; must be NULL.

◆ point_count

size_t occtl_curve_interpolated_info::point_count

Number of interpolation points.

◆ points

const occtl_point3_t* occtl_curve_interpolated_info::points

[in] Borrows it; count = point_count.

◆ struct_version

uint32_t occtl_curve_interpolated_info::struct_version

Must be OCCTL_CURVE_INTERPOLATED_INFO_VERSION_1.

◆ tolerance

double occtl_curve_interpolated_info::tolerance

Interpolation tolerance.


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