blob: 558d7137f64e2213aaf4674b035c241869f4a6a3 (
plain)
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
|
-- File: ISurfaceTool.cdl
-- Created: Fri Mar 6 16:18:58 1992
-- Author: Isabelle GRIGNON
-- <isg@phobox>
---Copyright: Matra Datavision 1992
deferred generic class ISurfaceTool from IntImp
( ImplicitSurface as any)
---Purpose: Template class for a tool on an
-- implicit surface.
uses Vec from gp
is
Value(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard)
---Purpose: Returns the value of the function.
returns Real from Standard;
Gradient(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard ; V: out Vec from gp);
---Purpose: Returns the gradient of the function.
ValueAndGradient(myclass; Is: ImplicitSurface;
X, Y, Z: Real from Standard;
Val: out Real from Standard; Grad: out Vec from gp);
---Purpose: Returns the value and the gradient.
Tolerance(myclass; Is: ImplicitSurface )
---Purpose: returns the tolerance of the zero of the implicit function
returns Real from Standard;
end ISurfaceTool;
|