Maria GDK 5.0.0.738
Documentation of native code in develop branch
Loading...
Searching...
No Matches
STK::CatmullRom< T > Class Template Reference

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_typeevaluateCurveSegment (const typename std::vector< vector_type >::size_type resolution=20)
 
vector_type evalMidPoint ()
 

Detailed Description

template<typename T>
class STK::CatmullRom< T >

Nonstatic and faster version of the Catmull-Rom spline used for smoothing.


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