![]() |
Maria GDK 5.0.0.738
Documentation of native code in develop branch
|
Nonstatic and faster version of the Catmull-Rom spline used for smoothing. More...
#include <StkCatmullRom.h>
Public Types | |
using | vector_type = STK::Vector2< T > |
Public Member Functions | |
CatmullRom (const vector_type &p0, const vector_type &p1, const vector_type &p2, const vector_type &p3) | |
vector_type | eval (const T t) |
void | evaluateCurveSegment (std::vector< vector_type > &points, const typename std::vector< vector_type >::size_type resolution=20) |
std::vector< vector_type > | evaluateCurveSegment (const typename std::vector< vector_type >::size_type resolution=20) |
vector_type | evalMidPoint () |
Nonstatic and faster version of the Catmull-Rom spline used for smoothing.