blob: 660ed38455532e0a051e44cd3353384dd7a892de (
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
|
--
-- File : Pick.cdl
-- Created : Sat 9 Jan 1993
-- Author : CKY / Contract Toubro-Larsen ( TCD )
--
---Copyright : MATRA-DATAVISION 1993
--
class Pick from IGESGraph inherits IGESEntity
---Purpose: defines IGESPick, Type <406> Form <21>
-- in package IGESGraph
--
-- Attaches information that an entity may be picked
-- by whatever pick device is used in the receiving
-- system
uses Integer -- no one specific type
is
Create returns mutable Pick;
-- Specific Methods pertaining to the class
Init (me : mutable;
nbProps : Integer;
aPickStatus : Integer);
---Purpose : This method is used to set the fields of the class Pick
-- - nbProps : Number of property values (NP = 1)
-- - aPickStatus : Pick Flag
-- Specific Access Methods : According to each type of Entity
NbPropertyValues (me) returns Integer;
---Purpose : returns the number of property values in <me>.
PickFlag(me) returns Integer;
---Purpose : returns 0 if <me> is pickable(default),
-- 1 if <me> is not pickable.
IsPickable(me) returns Boolean;
---Purpose : returns True if thePick is 0.
fields
--
-- Class : IGESGraph_Pick
--
-- Purpose : Declaration of the variables specific to a Pick property.
--
-- Reminder : A Pick property is defined by :
-- - Number of property values
-- - Flag 0 = entity is pickable(default)
-- 1 = entity is not pickable
--
theNbPropertyValues : Integer;
thePick : Integer;
end Pick;
|