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