0024778: Convertation of the generic classes to the non-generic. Part 9
[occt.git] / src / Geom2dGcc / Geom2dGcc_FunctionTanCuCuCu.cdl
1 -- Created on: 1991-05-13
2 -- Created by: Laurent PAINNOT
3 -- Copyright (c) 1991-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 private class FunctionTanCuCuCu from Geom2dGcc inherits FunctionSetWithDerivatives from math
18      
19     ---Purpose: This abstract class describes a set on N Functions of 
20     --          M independant variables.
21
22 uses Vector from math,
23      Matrix from math,
24      Circ2d from gp,
25      Lin2d  from gp,
26      Pnt2d  from gp,
27      Vec2d  from gp,
28      Type1  from Geom2dGcc,
29      Curve  from Geom2dAdaptor,
30      CurveTool from Geom2dGcc
31
32 raises ConstructionError
33
34 is
35
36     Create (C1  : Curve from Geom2dAdaptor ;
37             C2  : Curve from Geom2dAdaptor ;
38             C3  : Curve from Geom2dAdaptor ) returns FunctionTanCuCuCu from Geom2dGcc;
39
40     Create (C1  : Circ2d    from gp ;
41             C2  : Curve from Geom2dAdaptor          ;
42             C3  : Curve from Geom2dAdaptor          ) returns FunctionTanCuCuCu from Geom2dGcc;
43
44     Create (C1  : Circ2d    from gp ;
45             C2  : Circ2d    from gp ;
46             C3  : Curve from Geom2dAdaptor          ) returns FunctionTanCuCuCu from Geom2dGcc;
47
48     Create (C1  : Circ2d    from gp ;
49             L2  : Lin2d     from gp ;
50             C3  : Curve from Geom2dAdaptor          ) returns FunctionTanCuCuCu from Geom2dGcc;
51
52     Create (L1  : Lin2d     from gp ;
53             L2  : Lin2d     from gp ;
54             C3  : Curve from Geom2dAdaptor          ) returns FunctionTanCuCuCu from Geom2dGcc;
55
56     Create (L1  : Lin2d     from gp ;
57             C2  : Curve from Geom2dAdaptor          ;
58             C3  : Curve from Geom2dAdaptor          ) returns FunctionTanCuCuCu from Geom2dGcc;
59
60     Create (C1  : Circ2d    from gp ;
61             C2  : Curve from Geom2dAdaptor          ;
62             P3  : Pnt2d     from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
63
64     Create (L1  : Lin2d     from gp ;
65             C2  : Curve from Geom2dAdaptor          ;
66             P3  : Pnt2d     from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
67
68     Create (C1  : Curve from Geom2dAdaptor          ;
69             P2  : Pnt2d     from gp ;
70             P3  : Pnt2d     from gp ) returns FunctionTanCuCuCu from Geom2dGcc;
71
72 InitDerivative(me                         : in out                   ;
73                X                          :        Vector from math  ;
74                Point1,Point2,Point3       :    out Pnt2d  from gp    ;
75                Tan1,Tan2,Tan3,D21,D22,D23 :    out Vec2d  from gp    )
76 raises ConstructionError
77 is static;
78
79     NbVariables(me) returns Integer;
80         ---Purpose: Returns the number of variables of the function.
81
82     NbEquations(me) returns Integer;
83         ---Purpose: Returns the number of equations of the function.
84
85     Value(me : in out                 ; 
86           X  :        Vector from math; 
87           F  :    out Vector from math) returns Boolean;
88         ---Purpose: Computes the values of the Functions for the variable <X>.
89     
90     Derivatives(me : in out                 ;
91                 X  :        Vector from math;
92                 D  :    out Matrix from math) returns Boolean;
93         ---Purpose: Returns the values of the derivatives for the variable <X>.
94     
95     Values(me : in out                 ;
96            X  :        Vector from math;
97            F  :    out Vector from math;
98            D  :    out Matrix from math)    returns Boolean;
99         ---Purpose: Returns the values of the functions and the derivatives
100         --          for the variable <X>.
101     
102 fields
103
104 Curv1   : Curve from Geom2dAdaptor             ;
105 Curv2   : Curve from Geom2dAdaptor             ;
106 Curv3   : Curve from Geom2dAdaptor             ;
107 Circ1   : Circ2d   from gp     ;
108 Circ2   : Circ2d   from gp     ;
109 Lin1    : Lin2d    from gp     ;
110 Lin2    : Lin2d    from gp     ;
111 TheType : Type1    from Geom2dGcc;
112
113 end FunctionTanCuCuCu;
114