blob: 6ac0b94257eb3dbf7e6ca6185cfb1c9ce90db150 (
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
|
-- File: AppParCurves_ConstraintCouple.cdl
-- Created: Wed Feb 24 16:50:46 1993
-- Author: Laurent PAINNOT
-- <lpa@phobox>
---Copyright: Matra Datavision 1993
class ConstraintCouple from AppParCurves
---Purpose: associates an index and a constraint for an object.
-- This couple is used by AppDef_TheVariational when performing approximations.
uses Constraint from AppParCurves
is
Create returns ConstraintCouple;
---Purpose: returns an indefinite ConstraintCouple.
Create(TheIndex: Integer; Cons: Constraint)
---Purpose: Create a couple the object <Index> will have the
-- constraint <Cons>.
returns ConstraintCouple;
Index(me)
---Purpose: returns the index of the constraint object.
returns Integer
is static;
Constraint(me)
---Purpose: returns the constraint of the object.
returns Constraint
is static;
SetIndex(me: in out; TheIndex: Integer)
---Purpose: Changes the index of the constraint object.
is static;
SetConstraint(me: in out; Cons: Constraint)
---Purpose: Changes the constraint of the object.
is static;
fields
myIndex: Integer;
myConstraint: Constraint from AppParCurves;
end ConstraintCouple;
|