Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_MATH___CURVE_CUBIC__HPP
2 #define GUI_MATH___CURVE_CUBIC__HPP
class ICurve defines a basic interface for all curves.
CVect4< TPoint > TControlPoints
float GetError(void) const
access the error
CVect4< TPoint > m_Points
the control points
TPoint & SetPoint(size_t i)
const TPoint & GetPoint(size_t i) const
access a control point
virtual void Recalc()=0
recalculate the curve (curve-specific)
virtual TPoint & SetPoint(size_t i)=0
virtual void SetError(float f)=0
virtual TPoint EvalPos(float u) const =0
virtual TPoint EvalTan(float u) const =0
virtual TPoint EvalCurve(float u) const =0
virtual float GetError() const =0
access the level of detail
virtual const TPoint & GetPoint(size_t i) const =0
access control points of the curve
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIUTILS_EXPORT
double f(double x_, const double &y_)