1 -- Created on: 1992-04-06
2 -- Created by: Christophe MARION
3 -- Copyright (c) 1992-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class EdgesBlock from HLRAlgo inherits TShared from MMgt
19 ---Purpose: An EdgesBlock is a set of Edges. It is used by the
20 -- DataStructure to structure the Edges.
22 -- An EdgesBlock contains :
24 -- * An Array of index of Edges.
26 -- * An Array of flagsf ( Orientation
33 Address from Standard,
34 Boolean from Standard,
35 Integer from Standard,
36 Orientation from TopAbs,
37 Array1OfInteger from TColStd,
38 Array1OfBoolean from TColStd
41 Create(NbEdges : Integer)
42 ---Purpose: Create a Block of Edges for a wire.
43 returns EdgesBlock from HLRAlgo;
45 NbEdges(me) returns Integer from Standard
49 Edge(me : mutable; I : Integer from Standard;
50 EI : Integer from Standard)
54 Edge(me; I : Integer from Standard)
55 returns Integer from Standard
59 Orientation(me : mutable; I : Integer from Standard;
60 Or : Orientation from TopAbs)
64 Orientation(me; I : Integer from Standard)
65 returns Orientation from TopAbs
69 OutLine(me; I : Integer from Standard)
70 returns Boolean from Standard
74 OutLine(me : mutable; I : Integer from Standard;
75 B : Boolean from Standard)
79 Internal(me; I : Integer from Standard)
80 returns Boolean from Standard
84 Internal(me : mutable; I : Integer from Standard;
85 B : Boolean from Standard)
89 Double(me; I : Integer from Standard)
90 returns Boolean from Standard
94 Double(me : mutable; I : Integer from Standard;
95 B : Boolean from Standard)
99 IsoLine(me; I : Integer from Standard)
100 returns Boolean from Standard
104 IsoLine(me : mutable; I : Integer from Standard;
105 B : Boolean from Standard)
109 UpdateMinMax(me : mutable; TotMinMax : Address from Standard)
112 MinMax(me) returns Address from Standard
117 myEdges : Array1OfInteger from TColStd;
118 myFlags : Array1OfBoolean from TColStd;
119 myMinMax : Integer from Standard[16];