0024773: Convertation of the generic classes to the non-generic. Part 7
[occt.git] / src / GccIter / GccIter_FunctionTanCuCuOnCu.cdl
CommitLineData
b311480e 1-- Created on: 1991-05-13
2-- Created by: Laurent PAINNOT
3-- Copyright (c) 1991-1999 Matra Datavision
973c2be1 4-- Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5--
973c2be1 6-- This file is part of Open CASCADE Technology software library.
b311480e 7--
d5f74e42 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
973c2be1 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.
b311480e 13--
973c2be1 14-- Alternatively, this file may be used under the terms of Open CASCADE
15-- commercial license or contractual agreement.
7fd59977 16
17generic class FunctionTanCuCuOnCu from GccIter (
18 TheCurve as any;
19 TheCurveTool as any) -- as CurvePGTool from GccInt (TheCurve)
20
21inherits FunctionSetWithDerivatives from math
22
23 ---Purpose: This abstract class describes a set on N Functions of
24 -- M independant variables.
25
26uses Vector from math,
27 Matrix from math,
28 Circ2d from gp,
29 Lin2d from gp,
30 Pnt2d from gp,
31 Vec2d from gp,
32 Type2 from GccIter
33
34raises ConstructionError
35
36is
37
38 Create (C1 : TheCurve ;
39 C2 : TheCurve ;
40 OnCi : Circ2d from gp ;
41 Rad : Real from Standard )
42returns FunctionTanCuCuOnCu from GccIter;
43
44 Create (C1 : Circ2d from gp ;
45 C2 : TheCurve ;
46 OnCi : Circ2d from gp ;
47 Rad : Real from Standard )
48returns FunctionTanCuCuOnCu from GccIter;
49
50 Create (L1 : Lin2d from gp ;
51 C2 : TheCurve ;
52 OnCi : Circ2d from gp ;
53 Rad : Real from Standard )
54returns FunctionTanCuCuOnCu from GccIter;
55
56 Create (C1 : TheCurve ;
57 P2 : Pnt2d from gp ;
58 OnCi : Circ2d from gp ;
59 Rad : Real from Standard )
60returns FunctionTanCuCuOnCu from GccIter;
61
62------------------------------------------------------------------------
63
64 Create (C1 : TheCurve ;
65 C2 : TheCurve ;
66 OnLi : Lin2d from gp ;
67 Rad : Real from Standard )
68returns FunctionTanCuCuOnCu from GccIter;
69
70 Create (C1 : Circ2d from gp ;
71 C2 : TheCurve ;
72 OnLi : Lin2d from gp ;
73 Rad : Real from Standard )
74returns FunctionTanCuCuOnCu from GccIter;
75
76 Create (L1 : Lin2d from gp ;
77 C2 : TheCurve ;
78 OnLi : Lin2d from gp ;
79 Rad : Real from Standard )
80returns FunctionTanCuCuOnCu from GccIter;
81
82 Create (C1 : TheCurve ;
83 P2 : Pnt2d from gp ;
84 OnLi : Lin2d from gp ;
85 Rad : Real from Standard )
86returns FunctionTanCuCuOnCu from GccIter;
87
88-----------------------------------------------------------------------
89
90 Create (C1 : TheCurve ;
91 C2 : TheCurve ;
92 OnCu : TheCurve ;
93 Rad : Real from Standard )
94returns FunctionTanCuCuOnCu from GccIter;
95
96 Create (C1 : Circ2d from gp ;
97 C2 : TheCurve ;
98 OnCu : TheCurve ;
99 Rad : Real from Standard )
100returns FunctionTanCuCuOnCu from GccIter;
101
102 Create (L1 : Lin2d from gp ;
103 C2 : TheCurve ;
104 OnCu : TheCurve ;
105 Rad : Real from Standard )
106returns FunctionTanCuCuOnCu from GccIter;
107
108 Create (C1 : TheCurve ;
109 P1 : Pnt2d from gp ;
110 OnCu : TheCurve ;
111 Rad : Real from Standard )
112returns FunctionTanCuCuOnCu from GccIter;
113
114InitDerivative(me : in out ;
115 X : Vector from math ;
116 Point1,Point2,Point3 : out Pnt2d from gp ;
117 Tan1,Tan2,Tan3,D21,D22,D23 : out Vec2d from gp )
118raises ConstructionError
119is static;
120
121 NbVariables(me) returns Integer;
122 ---Purpose: Returns the number of variables of the function.
123
124 NbEquations(me) returns Integer;
125 ---Purpose: Returns the number of equations of the function.
126
127 Value(me : in out ;
128 X : Vector from math;
129 F : out Vector from math) returns Boolean;
130 ---Purpose: Computes the values of the Functions for the variable <X>.
131
132 Derivatives(me : in out ;
133 X : Vector from math;
134 D : out Matrix from math) returns Boolean;
135 ---Purpose: Returns the values of the derivatives for the variable <X>.
136
137 Values(me : in out ;
138 X : Vector from math;
139 F : out Vector from math;
140 D : out Matrix from math) returns Boolean;
141 ---Purpose: Returns the values of the functions and the derivatives
142 -- for the variable <X>.
143
144fields
145
146Curv1 : TheCurve ;
147Curv2 : TheCurve ;
148Circ1 : Circ2d from gp ;
149Lin1 : Lin2d from gp ;
150Pnt2 : Pnt2d from gp ;
151Circon : Circ2d from gp ;
152Linon : Lin2d from gp ;
153Curvon : TheCurve ;
154FirstRad : Real from Standard ;
155TheType : Type2 from GccIter ;
156
157end FunctionTanCuCuOnCu;
158