Integration of OCCT 6.5.0 from SVN
[occt.git] / src / GccIter / GccIter_FunctionTanObl.cdl
1 -- File:        FunctionTanObl.cdl
2 -- Created:     Thu Jan  9 16:43:44 1992
3 -- Author:      Remi GILET
4 --              <reg@topsn3>
5 ---Copyright:    Matra Datavision 1992
6
7 generic class FunctionTanObl from GccIter (
8     TheCurve     as any;
9     TheCurveTool as any) -- as CurvePGTool from GccInt (TheCurve)
10
11 inherits FunctionWithDerivative from math
12     ---Purpose: This class describe a function of a single variable.
13
14 uses Dir2d from gp     
15
16      
17 is
18
19 Create (Curve : TheCurve      ;
20         Dir   : Dir2d from gp ) returns FunctionTanObl from GccIter;
21
22 Value (me : in out      ;
23        X  :        Real ;
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,
27     --          False otherwise.
28
29 Derivative (me    : in out      ;
30             X     :        Real ;
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,
34     --          False otherwise.
35
36 Values (me    : in out      ;
37         X     :        Real ;
38         F     : out    Real ;
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,
43     --          False otherwise.
44
45 fields
46
47 TheCurv      : TheCurve        ;
48 TheDirection : Dir2d    from gp;
49
50 end FunctionTanObl;
51
52
53
54
55
56