1 -- File: HLRAlgo_EdgesBlock.cdl
2 -- Created: Mon Apr 6 17:57:45 1992
3 -- Author: Christophe MARION
5 ---Copyright: Matra Datavision 1992
7 class EdgesBlock from HLRAlgo inherits TShared from MMgt
9 ---Purpose: An EdgesBlock is a set of Edges. It is used by the
10 -- DataStructure to structure the Edges.
12 -- An EdgesBlock contains :
14 -- * An Array of index of Edges.
16 -- * An Array of flagsf ( Orientation
23 Address from Standard,
24 Boolean from Standard,
25 Integer from Standard,
26 Orientation from TopAbs,
27 Array1OfInteger from TColStd,
28 Array1OfBoolean from TColStd
31 Create(NbEdges : Integer)
32 ---Purpose: Create a Block of Edges for a wire.
33 returns mutable EdgesBlock from HLRAlgo;
35 NbEdges(me) returns Integer from Standard
39 Edge(me : mutable; I : Integer from Standard;
40 EI : Integer from Standard)
44 Edge(me; I : Integer from Standard)
45 returns Integer from Standard
49 Orientation(me : mutable; I : Integer from Standard;
50 Or : Orientation from TopAbs)
54 Orientation(me; I : Integer from Standard)
55 returns Orientation from TopAbs
59 OutLine(me; I : Integer from Standard)
60 returns Boolean from Standard
64 OutLine(me : mutable; I : Integer from Standard;
65 B : Boolean from Standard)
69 Internal(me; I : Integer from Standard)
70 returns Boolean from Standard
74 Internal(me : mutable; I : Integer from Standard;
75 B : Boolean from Standard)
79 Double(me; I : Integer from Standard)
80 returns Boolean from Standard
84 Double(me : mutable; I : Integer from Standard;
85 B : Boolean from Standard)
89 IsoLine(me; I : Integer from Standard)
90 returns Boolean from Standard
94 IsoLine(me : mutable; I : Integer from Standard;
95 B : Boolean from Standard)
99 UpdateMinMax(me : mutable; TotMinMax : Address from Standard)
102 MinMax(me) returns Address from Standard
107 myEdges : Array1OfInteger from TColStd;
108 myFlags : Array1OfBoolean from TColStd;
109 myMinMax : Integer from Standard[16];