Go to the documentation of this file.
72 T
getValue(
const double param)
const;
93 static double comp(
const T& val,
const int i);
void clampCurveSegment(const T &delta, T &d1, T &d2)
Performs hermite derivative clamping in canonical space.
std::vector< CV > _cvData
T getValue(const double param) const
Evaluates curve and returns full value.
Interpolation curve class for double->double and double->Vec3D.
CV getLowerBoundCV(const double param) const
static double comp(const T &val, const int i)
Returns a component of the given value.
CV(double pos, const T &val, InterpType type)
static bool interpTypeValid(InterpType interp)
Returns whether the given interpolation type is supported.
InterpType
Supported interpolation types.
void preparePoints()
Prepares points for evaluation (sorts and computes boundaries, clamps extrema)
double getChannelValue(const double param, int channel) const
void addPoint(double position, const T &val, InterpType type)
Adds a point to the curve.
static bool cvLessThan(const CV &cv1, const CV &cv2)
CV Parameter ordering (cv1._pos < cv2._pos)