Blender  V3.3
Public Attributes | List of all members
NURBSpline::BasisCache Struct Reference

#include <BKE_spline.hh>

Public Attributes

blender::Vector< floatweights
 
blender::Vector< int > start_indices
 

Detailed Description

Definition at line 448 of file BKE_spline.hh.

Member Data Documentation

◆ start_indices

blender::Vector<int> NURBSpline::BasisCache::start_indices

An offset for the start of weights: the first control point index with a non-zero weight.

Definition at line 457 of file BKE_spline.hh.

Referenced by NURBSpline::calculate_basis_cache(), and interpolate_to_evaluated_impl().

◆ weights

blender::Vector<float> NURBSpline::BasisCache::weights

For each evaluated point, the weight for all control points that influences it. The vector's size is the evaluated point count multiplied by the spline's order.

Definition at line 453 of file BKE_spline.hh.

Referenced by NURBSpline::calculate_basis_cache(), and interpolate_to_evaluated_impl().


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