UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::Geometry::Spline::Math::TBSplineDerivativeCalculator< T, DerivOrder > Struct Template Reference

#include <SplineMath.h>

Static Public Member Functions

staticCompute (TArrayView< const T *const > Window, const TArray< float > &Knots, int32 Span, float Parameter, int32 Degree)
 

Member Function Documentation

◆ Compute()

template<typename T , int32 DerivOrder>
static T UE::Geometry::Spline::Math::TBSplineDerivativeCalculator< T, DerivOrder >::Compute ( TArrayView< const T *const >  Window,
const TArray< float > &  Knots,
int32  Span,
float  Parameter,
int32  Degree 
)
inlinestatic

Computes the DerivOrder-th derivative of a BSpline curve at a given parameter.

Parameters
WindowA view of pointers to control points for the current BSpline segment. For a BSpline of degree p, this view should contain p+1 control points.
KnotsThe global knot vector.
SpanThe knot span index such that Parameter ∈ [Knots[Span], Knots[Span+1]).
ParameterThe parameter at which to evaluate.
DegreeThe degree of the current BSpline (should be ≥ DerivOrder).
Returns
The DerivOrder-th derivative (of type T) evaluated at Parameter.

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