0023024: Update headers of OCCT files
[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
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23
24generic class ZerParFunc from IntImp
25 (ThePSurface as any;
26 ThePSurfaceTool as any) -- as PSurfaceTool from IntImp (ThePSurface)
27
28
29inherits FunctionSetWithDerivatives from math
30
31 ---Purpose: this function is associated to IWalking
32 -- it's the definition of the line F(x,y,z)=0
33 -- where x=X(u,v),y=Y(u,v),z=Z(u,v)
34
35uses Pnt from gp,
36 Dir from gp,
37 Vec from gp,
38 Dir2d from gp,
39 ConstIsoparametric from IntImp,
40 Array1OfReal from TColStd,
41 Vector from math,
42 Matrix from math
43
44raises UndefinedDerivative from StdFail,
45 ConstructionError from Standard
46is
47
48 Create
49 ---Purpose: Raises Construction Error
50 --
51 returns ZerParFunc from IntImp;
52
53 Create( S1,S2 : ThePSurface )
54
55 returns ZerParFunc from IntImp;
56
57
58 NbVariables(me)
59
60 returns Integer from Standard
61
62 is static;
63
64
65 NbEquations(me)
66
67 returns Integer from Standard
68
69 is static;
70
71
72 Value(me : in out;X : in Vector from math;
73 F : out Vector from math)
74
75 returns Boolean from Standard
76 is static;
77
78
79 Derivatives(me : in out;X : in Vector from math;
80 D : out Matrix from math)
81
82 returns Boolean from Standard
83 is static;
84
85
86 Values(me : in out;
87 X: in Vector from math;
88 F: out Vector from math; D: out Matrix from math)
89
90 returns Boolean from Standard
91 is static;
92
93
94 ComputeParameters(me : in out;
95 ChoixIso: ConstIsoparametric from IntImp;
96 Param: Array1OfReal from TColStd;
97 UVap,BornInf,BornSup,Tolerance : out Vector from math)
98 is static;
99
100
101 Root(me)
102
103 ---Purpose: returns somme des fi*fi
104
105 returns Real from Standard
106 ---C++: inline
107
108 is static;
109
110
111 Point(me)
112
113 returns Pnt from gp
114 ---C++: inline
115
116 is static;
117
118
119 IsTangent(me : in out; UVap : Vector from math;
120 Param : out Array1OfReal from TColStd;
121 BestChoix : out ConstIsoparametric from IntImp)
122
123 returns Boolean from Standard
124 is static;
125
126
127 Direction(me)
128
129 returns Dir from gp
130 ---C++: inline
131
132 raises UndefinedDerivative from StdFail
133 is static;
134
135
136 DirectionOnS1(me)
137
138 returns Dir2d from gp
139 ---C++: inline
140
141 raises UndefinedDerivative from StdFail
142 is static;
143
144
145 DirectionOnS2(me)
146
147 returns Dir2d from gp
148 ---C++: inline
149
150 raises UndefinedDerivative from StdFail
151 is static;
152
153
154 AuxillarSurface1(me)
155
156 returns ThePSurface
157 ---C++: return const&
158 ---C++: inline
159
160 is static;
161
162
163 AuxillarSurface2(me)
164
165 returns ThePSurface
166 ---C++: return const&
167 ---C++: inline
168
169 is static;
170
171
172fields
173
174 surf1 : Address from Standard; --- ThePSurface;
175 surf2 : Address from Standard; --- ThePSurface;
176 pntsol1 : Pnt from gp; --point solution=milieu(pntsol1,pntsol2)
177 pntsol2 : Pnt from gp;
178 f : Real from Standard[3]; -- equations
179 compute : Boolean from Standard; --indicateur si tangence calculee
180 tangent : Boolean from Standard; --indicateur si tangente
181 tgduv : Real from Standard[4] ; --composante en u,en v de la
182 -- tangente ds plan tg du 1 ier et 2ieme caro
183 dpuv : Vec from gp[4]; -- dp/du,dp/dv sur 1ier et 2 ieme
184 -- caro
185 chxIso : ConstIsoparametric from IntImp; -- indicateur sur l'iso
186 -- constante
187 paramConst : Real from Standard; -- parametre de l iso
188
189 ua0,va0,ua1,va1 : Real from Standard; -- surf1
190 ub0,vb0,ub1,vb1 : Real from Standard; -- surf2
191 ures1,ures2,vres1,vres2 : Real from Standard; -- U et V Resolution
192
193end ZerParFunc;
194