0024662: Removing unused "generic" classes. Part 3
[occt.git] / src / IntImp / IntImp_ZerParFunc.cdl
CommitLineData
b311480e 1-- Created on: 1992-03-27
2-- Created by: Isabelle GRIGNON
3-- Copyright (c) 1992-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 ZerParFunc from IntImp
18 (ThePSurface as any;
93cb31a6 19 ThePSurfaceTool as any)
7fd59977 20
21
22inherits FunctionSetWithDerivatives from math
23
24 ---Purpose: this function is associated to IWalking
25 -- it's the definition of the line F(x,y,z)=0
26 -- where x=X(u,v),y=Y(u,v),z=Z(u,v)
27
28uses Pnt from gp,
29 Dir from gp,
30 Vec from gp,
31 Dir2d from gp,
32 ConstIsoparametric from IntImp,
33 Array1OfReal from TColStd,
34 Vector from math,
35 Matrix from math
36
37raises UndefinedDerivative from StdFail,
38 ConstructionError from Standard
39is
40
41 Create
42 ---Purpose: Raises Construction Error
43 --
44 returns ZerParFunc from IntImp;
45
46 Create( S1,S2 : ThePSurface )
47
48 returns ZerParFunc from IntImp;
49
50
51 NbVariables(me)
52
53 returns Integer from Standard
54
55 is static;
56
57
58 NbEquations(me)
59
60 returns Integer from Standard
61
62 is static;
63
64
65 Value(me : in out;X : in Vector from math;
66 F : out Vector from math)
67
68 returns Boolean from Standard
69 is static;
70
71
72 Derivatives(me : in out;X : in Vector from math;
73 D : out Matrix from math)
74
75 returns Boolean from Standard
76 is static;
77
78
79 Values(me : in out;
80 X: in Vector from math;
81 F: out Vector from math; D: out Matrix from math)
82
83 returns Boolean from Standard
84 is static;
85
86
87 ComputeParameters(me : in out;
88 ChoixIso: ConstIsoparametric from IntImp;
89 Param: Array1OfReal from TColStd;
90 UVap,BornInf,BornSup,Tolerance : out Vector from math)
91 is static;
92
93
94 Root(me)
95
96 ---Purpose: returns somme des fi*fi
97
98 returns Real from Standard
99 ---C++: inline
100
101 is static;
102
103
104 Point(me)
105
106 returns Pnt from gp
107 ---C++: inline
108
109 is static;
110
111
112 IsTangent(me : in out; UVap : Vector from math;
113 Param : out Array1OfReal from TColStd;
114 BestChoix : out ConstIsoparametric from IntImp)
115
116 returns Boolean from Standard
117 is static;
118
119
120 Direction(me)
121
122 returns Dir from gp
123 ---C++: inline
124
125 raises UndefinedDerivative from StdFail
126 is static;
127
128
129 DirectionOnS1(me)
130
131 returns Dir2d from gp
132 ---C++: inline
133
134 raises UndefinedDerivative from StdFail
135 is static;
136
137
138 DirectionOnS2(me)
139
140 returns Dir2d from gp
141 ---C++: inline
142
143 raises UndefinedDerivative from StdFail
144 is static;
145
146
147 AuxillarSurface1(me)
148
149 returns ThePSurface
150 ---C++: return const&
151 ---C++: inline
152
153 is static;
154
155
156 AuxillarSurface2(me)
157
158 returns ThePSurface
159 ---C++: return const&
160 ---C++: inline
161
162 is static;
163
164
165fields
166
167 surf1 : Address from Standard; --- ThePSurface;
168 surf2 : Address from Standard; --- ThePSurface;
169 pntsol1 : Pnt from gp; --point solution=milieu(pntsol1,pntsol2)
170 pntsol2 : Pnt from gp;
171 f : Real from Standard[3]; -- equations
172 compute : Boolean from Standard; --indicateur si tangence calculee
173 tangent : Boolean from Standard; --indicateur si tangente
174 tgduv : Real from Standard[4] ; --composante en u,en v de la
175 -- tangente ds plan tg du 1 ier et 2ieme caro
176 dpuv : Vec from gp[4]; -- dp/du,dp/dv sur 1ier et 2 ieme
177 -- caro
178 chxIso : ConstIsoparametric from IntImp; -- indicateur sur l'iso
179 -- constante
180 paramConst : Real from Standard; -- parametre de l iso
181
182 ua0,va0,ua1,va1 : Real from Standard; -- surf1
183 ub0,vb0,ub1,vb1 : Real from Standard; -- surf2
184 ures1,ures2,vres1,vres2 : Real from Standard; -- U et V Resolution
185
186end ZerParFunc;
187