Blender
V3.3
|
#include "BLI_array.hh"
#include "BLI_span.hh"
#include "BLI_virtual_array.hh"
#include "BKE_attribute_math.hh"
#include "BKE_spline.hh"
Go to the source code of this file.
Functions | |
static void | calculate_basis_for_point (const float parameter, const int num, const int degree, const Span< float > knots, MutableSpan< float > r_weights, int &r_start_index) |
template<typename T > | |
void | interpolate_to_evaluated_impl (const NURBSpline::BasisCache &basis_cache, const int order, const blender::VArray< T > &src, MutableSpan< T > dst) |
|
static |
Definition at line 223 of file spline_nurbs.cc.
References buffer, blender::MutableSpan< T >::copy_from(), max, order, and blender::Span< T >::size().
Referenced by NURBSpline::calculate_basis_cache().
void interpolate_to_evaluated_impl | ( | const NURBSpline::BasisCache & | basis_cache, |
const int | order, | ||
const blender::VArray< T > & | src, | ||
MutableSpan< T > | dst | ||
) |
Definition at line 331 of file spline_nurbs.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::as_span(), blender::Span< T >::index_range(), blender::MutableSpan< T >::index_range(), order, point_index, blender::Span< T >::slice(), src, NURBSpline::BasisCache::start_indices, and NURBSpline::BasisCache::weights.