1 -- File: FunctionTanObl.cdl
2 -- Created: Thu Jan 9 16:43:44 1992
5 ---Copyright: Matra Datavision 1992
7 generic class FunctionTanObl from GccIter (
9 TheCurveTool as any) -- as CurvePGTool from GccInt (TheCurve)
11 inherits FunctionWithDerivative from math
12 ---Purpose: This class describe a function of a single variable.
19 Create (Curve : TheCurve ;
20 Dir : Dir2d from gp ) returns FunctionTanObl from GccIter;
24 F : out Real ) returns Boolean;
25 ---Purpose: Computes the value of the function F for the variable X.
26 -- It returns True if the computation is successfully done,
29 Derivative (me : in out ;
31 Deriv : out Real ) returns Boolean;
32 ---Purpose: Computes the derivative of the function F for the variable X.
33 -- It returns True if the computation is successfully done,
39 Deriv : out Real ) returns Boolean;
40 ---Purpose: Computes the value and the derivative of the function F
41 -- for the variable X.
42 -- It returns True if the computation is successfully done,
48 TheDirection : Dir2d from gp;