0.44.0
|
Non uniform B-Spline. More...
#include <iaBSpline.h>
Public Member Functions | |
void | addSupportPoint (const iaVector3< T > &point) |
void | clear () |
void | setRank (const uint32 rank) |
const uint32 | getRank () const |
iaVector3< T > | getPointOnSpline (T t) |
void | getPoints (std::vector< iaVector3< T > > &points, int32 pointCount) |
const std::vector< iaVector3< T > > & | getSupportPoints () const |
void | setSupportPoint (const iaVector3< T > &point, uint32 index) |
const iaVector3< T > & | getSupportPoint (uint32 index) const |
iaBSpline ()=default | |
~iaBSpline ()=default | |
Non uniform B-Spline.
|
default |
does nothing
|
default |
does nothing
void iaBSpline::addSupportPoint | ( | const iaVector3< T > & | point | ) |
add support point to spline
point | new point to add |
void iaBSpline::clear | ( | ) |
clears list of support points
iaVector3< T > iaBSpline::getPointOnSpline | ( | T | t | ) |
t | position on spline 0.0-1.0 |
void iaBSpline::getPoints | ( | std::vector< iaVector3< T > > & | points, |
int32 | pointCount | ||
) |
retruns points on the spline
[out] | points | the resulting points |
pointCount | the amount of points to generate on the spline (min 2) |
const uint32 iaBSpline::getRank | ( | ) | const |
index | index of support point to return |
const std::vector< iaVector3< T > > & iaBSpline::getSupportPoints | ( | ) | const |
void iaBSpline::setRank | ( | const uint32 | rank | ) |
configure the rank of the spline
rank | the rank of the spline (default = 3) |
overwrites value od specified support point. No range check!
point | new position of support point |
index | index of support point to change |