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

#include <occtl_surfaces.h>

Collaboration diagram for occtl_surface_interpolated_info:

Public Attributes

uint32_t struct_version
 
const void * p_next
 
const occtl_point3_tpoints
 
size_t u_point_count
 
size_t v_point_count
 
int32_t is_u_periodic
 

Detailed Description

Versioned create-info struct for surface interpolation.

Interpolates a B-spline surface passing through the given grid of points. Points are stored row-major: index = u * v_point_count + v. Uses OCCT's GeomAPI_PointsToBSplineSurface internally with uniform parameters.

Member Data Documentation

◆ is_u_periodic

int32_t occtl_surface_interpolated_info::is_u_periodic

0/1. Enables OCCT U-periodic interpolation.

◆ p_next

const void* occtl_surface_interpolated_info::p_next

Reserved; must be NULL.

◆ points

const occtl_point3_t* occtl_surface_interpolated_info::points

[in] Borrows it; row-major: index = u * v_point_count + v.

◆ struct_version

uint32_t occtl_surface_interpolated_info::struct_version

Must be OCCTL_SURFACE_INTERPOLATED_INFO_VERSION_1.

◆ u_point_count

size_t occtl_surface_interpolated_info::u_point_count

Number of point rows in U.

◆ v_point_count

size_t occtl_surface_interpolated_info::v_point_count

Number of point columns in V.


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