Go to the documentation of this file.Go to the SVN repository for this file.
1 #ifndef GUI_MATH___CURVE__HPP
2 #define GUI_MATH___CURVE__HPP
class ICurve defines a basic interface for all curves.
Include a standard set of the NCBI C++ Toolkit most basic headers.
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 void SetPoint(size_t i, const TPoint &)=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.
Defines to provide correct exporting from DLLs in Windows.
double f(double x_, const double &y_)