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

Aggregate inspection view of a B-spline surface. More...

#include <surfaces.hpp>

Collaboration diagram for occtl::Surface::BSplineView:

Public Member Functions

int32_t u_degree () const noexcept
 
int32_t v_degree () const noexcept
 
bool is_rational () const noexcept
 
bool is_u_periodic () const noexcept
 
bool is_v_periodic () const noexcept
 
size_t u_pole_count () const noexcept
 
size_t v_pole_count () const noexcept
 
size_t u_knot_count () const noexcept
 
size_t v_knot_count () const noexcept
 
size_t u_flat_knot_count () const noexcept
 
size_t v_flat_knot_count () const noexcept
 
const occtl_point3_tpoles () const noexcept
 
const double * weights () const noexcept
 
const double * u_knots () const noexcept
 
const double * v_knots () const noexcept
 
const int32_t * u_multiplicities () const noexcept
 
const int32_t * v_multiplicities () const noexcept
 
const double * u_flat_knots () const noexcept
 
const double * v_flat_knots () const noexcept
 

Public Attributes

occtl_surface_bspline_t raw
 

Detailed Description

Aggregate inspection view of a B-spline surface.

Holds the raw occtl_surface_bspline_t plus typed accessors. Pointer fields borrow from the parent Surface's graph rep and stay valid as long as the rep remains in the graph. The pole and weight grids are exposed as a single span in row-major order with U as the major axis: element (u, v) is at offset u * v_pole_count + v.


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