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
|
-- File: GeomFill_PlanFunc.cdl
-- Created: Thu Oct 29 10:47:24 1998
-- Author: Philippe MANGIN
-- <pmn@sgi29>
---Copyright: Matra Datavision 1998
private class PlanFunc from GeomFill
inherits FunctionWithDerivative from math
---Purpose:
uses
HCurve from Adaptor3d,
Pnt from gp,
Vec from gp,
XYZ from gp
is
Create(P : Pnt; V : Vec; C : HCurve from Adaptor3d)
returns PlanFunc from GeomFill;
Value(me: in out; X: Real; F: out Real)
---Purpose: computes the value <F>of the function for the variable <X>.
-- Returns True if the calculation were successfully done,
-- False otherwise.
returns Boolean
is redefined;
Derivative(me: in out; X: Real; D: out Real)
---Purpose: computes the derivative <D> of the function
-- for the variable <X>.
-- Returns True if the calculation were successfully done,
-- False otherwise.
returns Boolean
is redefined;
Values(me: in out; X: Real; F, D: out Real)
---Purpose: computes the value <F> and the derivative <D> of the
-- function for the variable <X>.
-- Returns True if the calculation were successfully done,
-- False otherwise.
returns Boolean
is redefined;
D2(me:in out; X:Real; F, D1, D2: out Real)
is static;
DEDT(me : in out; X:Real;
DP, DV : Vec;
DF : out Real)
is static;
D2E(me : in out; X:Real;
DP, D2P : Vec;
DV, D2V : Vec;
DFDT, D2FDT2, D2FDTDX : out Real)
is static;
fields
myPnt : XYZ;
myVec : XYZ;
V : XYZ;
G : Pnt;
myCurve : HCurve from Adaptor3d;
end PlanFunc;
|