| 1 | -- Created by: Peter KURNEV |
| 2 | -- Copyright (c) 1999-2014 OPEN CASCADE SAS |
| 3 | -- |
| 4 | -- This file is part of Open CASCADE Technology software library. |
| 5 | -- |
| 6 | -- This library is free software; you can redistribute it and/or modify it under |
| 7 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
| 8 | -- by the Free Software Foundation, with special exception defined in the file |
| 9 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
| 10 | -- distribution for complete text of the license and disclaimer of any warranty. |
| 11 | -- |
| 12 | -- Alternatively, this file may be used under the terms of Open CASCADE |
| 13 | -- commercial license or contractual agreement. |
| 14 | |
| 15 | class EdgeSet from BOPTools |
| 16 | |
| 17 | |
| 18 | uses |
| 19 | Shape from TopoDS, |
| 20 | Edge from TopoDS, |
| 21 | ShapeEnum from TopAbs, |
| 22 | BaseAllocator from BOPCol, |
| 23 | MapOfShape from BOPCol, |
| 24 | ListOfShape from BOPCol |
| 25 | |
| 26 | --raises |
| 27 | |
| 28 | is |
| 29 | Create |
| 30 | returns EdgeSet from BOPTools; |
| 31 | ---C++: alias "virtual ~BOPTools_EdgeSet();" |
| 32 | ---C++: inline |
| 33 | |
| 34 | Create (theAllocator: BaseAllocator from BOPCol) |
| 35 | returns EdgeSet from BOPTools; |
| 36 | ---C++: inline |
| 37 | |
| 38 | SetShape(me:out; |
| 39 | theS:Shape from TopoDS); |
| 40 | ---C++: inline |
| 41 | |
| 42 | Shape(me) |
| 43 | returns Shape from TopoDS; |
| 44 | ---C++: return const & |
| 45 | ---C++: inline |
| 46 | |
| 47 | AddEdge(me:out; |
| 48 | theEdge:Edge from TopoDS); |
| 49 | ---C++: inline |
| 50 | |
| 51 | AddEdges(me:out; |
| 52 | theLS:ListOfShape from BOPCol); |
| 53 | |
| 54 | AddEdges(me:out; |
| 55 | theFace:Shape from TopoDS); |
| 56 | ---C++: inline |
| 57 | |
| 58 | Clear(me:out); |
| 59 | ---C++: inline |
| 60 | |
| 61 | Get(me; |
| 62 | theLS:out ListOfShape from BOPCol); |
| 63 | ---C++: inline |
| 64 | |
| 65 | Contains(me; |
| 66 | theSet:EdgeSet from BOPTools) |
| 67 | returns Boolean from Standard; |
| 68 | ---C++: inline |
| 69 | |
| 70 | |
| 71 | fields |
| 72 | myShape : Shape from TopoDS is protected; |
| 73 | myMap : MapOfShape from BOPCol is protected; |
| 74 | myEdges : ListOfShape from BOPCol is protected; |
| 75 | |
| 76 | end EdgeSet; |