1 // Created by: Peter KURNEV
2 // Copyright (c) 2010-2014 OPEN CASCADE SAS
3 // Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
4 // Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
5 // EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
7 // This file is part of Open CASCADE Technology software library.
9 // This library is free software; you can redistribute it and / or modify it
10 // under the terms of the GNU Lesser General Public version 2.1 as published
11 // by the Free Software Foundation, with special exception defined in the file
12 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
13 // distribution for complete text of the license and disclaimer of any warranty.
15 // Alternatively, this file may be used under the terms of Open CASCADE
16 // commercial license or contractual agreement.
18 //=======================================================================
21 //=======================================================================
22 inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet()
25 //=======================================================================
28 //=======================================================================
29 inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet(const Handle(NCollection_BaseAllocator)& theAllocator)
31 myStartShapes(theAllocator),
32 myShapes(theAllocator)
35 //=======================================================================
38 //=======================================================================
39 inline BOPAlgo_WireEdgeSet::~BOPAlgo_WireEdgeSet()
42 //=======================================================================
45 //=======================================================================
46 inline void BOPAlgo_WireEdgeSet::Clear()
48 myStartShapes.Clear();
51 //=======================================================================
54 //=======================================================================
55 inline void BOPAlgo_WireEdgeSet::SetFace(const TopoDS_Face& aF)
59 //=======================================================================
62 //=======================================================================
63 inline const TopoDS_Face& BOPAlgo_WireEdgeSet::Face()const
67 //=======================================================================
68 //function : AddStartElement
70 //=======================================================================
71 inline void BOPAlgo_WireEdgeSet::AddStartElement(const TopoDS_Shape& aE)
73 myStartShapes.Append(aE);
75 //=======================================================================
76 //function : StartElements
78 //=======================================================================
79 inline const BOPCol_ListOfShape& BOPAlgo_WireEdgeSet::StartElements()const
83 //=======================================================================
86 //=======================================================================
87 inline void BOPAlgo_WireEdgeSet::AddShape(const TopoDS_Shape& aW)
91 //=======================================================================
94 //=======================================================================
95 inline const BOPCol_ListOfShape& BOPAlgo_WireEdgeSet::Shapes()const