blob: ac23b572746f1928776502c5d7add11cb8253685 (
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
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
|
-- File: BlendFunc_ChAsymInv.cdl
-- Created: Thu Jun 4 09:42:08 1998
-- Author: Philippe NOUAILLE
---Copyright: Matra Datavision 1998
class ChAsymInv from BlendFunc
inherits FuncInv from Blend
uses Vector from math,
Matrix from math,
HCurve2d from Adaptor2d,
HCurve from Adaptor3d,
HSurface from Adaptor3d
is
Create(S1,S2: HSurface from Adaptor3d; C: HCurve from Adaptor3d)
returns ChAsymInv from BlendFunc;
Set(me: in out; OnFirst: Boolean from Standard;
COnSurf: HCurve2d from Adaptor2d)
;
GetTolerance(me; Tolerance: out Vector from math; Tol: Real from Standard)
;
GetBounds(me; InfBound,SupBound: out Vector from math)
;
IsSolution(me: in out; Sol: Vector from math; Tol: Real from Standard)
returns Boolean from Standard
;
NbEquations(me)
---Purpose: returns the number of equations of the function.
returns Integer from Standard
is redefined static ;
ComputeValues(me : in out;
X : Vector from math;
DegF : Integer from Standard;
DegL : Integer from Standard)
---Purpose: computes the values <F> of the derivatives for the
-- variable <X> between DegF and DegL.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean from Standard
is static;
Value(me: in out; X: Vector; F: out Vector)
---Purpose: computes the values <F> of the Functions for the
-- variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean from Standard
is redefined static ;
Derivatives(me: in out; X: Vector; D: out Matrix)
---Purpose: returns the values <D> of the derivatives for the
-- variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean from Standard
is redefined static ;
Values(me: in out; X: Vector; F: out Vector; D: out Matrix)
---Purpose: returns the values <F> of the functions and the derivatives
-- <D> for the variable <X>.
-- Returns True if the computation was done successfully,
-- False otherwise.
returns Boolean from Standard
is redefined static ;
-- methodes hors template (en plus du create)
Set(me: in out;
Dist1 : Real from Standard;
Angle : Real from Standard;
Choix : Integer from Standard)
is static;
fields
surf1 : HSurface from Adaptor3d;
surf2 : HSurface from Adaptor3d;
dist1 : Real from Standard;
angle : Real from Standard;
tgang : Real from Standard;
curv : HCurve from Adaptor3d;
csurf : HCurve2d from Adaptor2d;
choix : Integer from Standard;
first : Boolean from Standard;
FX : Vector from math;
DX : Matrix from math;
end ChAsymInv;
|