-------------------------------
--- Algorithms:
-------------------------------
-
- ---Purpose: The two following algorithms are using the same recipe:
- -- Minimizing the difference between the approximate result
- -- Curve or Surface and respectively a continous MultiLine
- -- or a continous surface.
generic class LeastSquare;
- ---Purpose: makes an approximation of a continous Line described by
- -- the tool TheLineTool.
------------------------------------------------------
--- Necessary class for approximation a function f(t):
------------------------------------------------------
deferred class Function;
- ---Purpose: This class must be provided by the user to use the
- -- approximation algorithm FittingCurve.
-
class FunctionTool;
- ---Purpose: This class is the inteface between the Function
- -- class and the tool asked by LeastSquare.
---------------------------------------------------------
---------------------------------------------------------
deferred class Function2d;
- ---Purpose: This class must be provided by the user to use the
- -- approximation algorithm FittingCurve2d.
-
class FunctionTool2d;
- ---Purpose: This class is the inteface between the Function2d
- -- class and the tool asked by LeastSquare.
-
class FitFunction instantiates LeastSquare from AppCont