blob: 2b144ae733295b024a18969c44f880616d81ba5f (
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
|
-- File: ItemLocation.cdl
-- Created: Mon Jan 21 14:00:31 1991
-- Author: Christophe MARION
-- <cma@topsn3>
---Copyright: Matra Datavision 1991
private class ItemLocation from TopLoc
---Purpose: An ItemLocation is an elementary coordinate system
-- in a Location.
--
-- The ItemLocation contains :
--
-- * The elementary Datum.
--
-- * The exponent of the elementary Datum.
--
-- * The transformation associated to the composition.
--
uses
Datum3D from TopLoc,
Trsf from gp,
TrsfPtr from TopLoc
is
Create(D : Datum3D from TopLoc;
P : Integer from Standard;
fromTrsf : Boolean from Standard = Standard_False) returns ItemLocation from TopLoc;
---Purpose: Sets the elementary Datum to <D>
-- Sets the exponent to <P>
Create(anOther : ItemLocation from TopLoc) returns ItemLocation from TopLoc;
Assign(me : in out; anOther : ItemLocation from TopLoc) returns ItemLocation from TopLoc;
---C++: alias operator=
---C++: return &
Destroy(me : in out);
---C++: alias ~
fields
myDatum : Datum3D from TopLoc;
myPower : Integer from Standard;
myTrsf : TrsfPtr from TopLoc;
friends
class Location from TopLoc
end ItemLocation;
|