0024510: Remove unused local variables
[occt.git] / src / BOPAlgo / BOPAlgo_WireEdgeSet.lxx
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
6 //
7 // This file is part of Open CASCADE Technology software library.
8 //
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.
14 //
15 // Alternatively, this file may be used under the terms of Open CASCADE
16 // commercial license or contractual agreement.
17
18 //=======================================================================
19 //function : 
20 //purpose  : 
21 //=======================================================================
22   inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet()
23 {
24 }
25 //=======================================================================
26 //function : 
27 //purpose  : 
28 //=======================================================================
29   inline BOPAlgo_WireEdgeSet::BOPAlgo_WireEdgeSet(const Handle(NCollection_BaseAllocator)& theAllocator)
30 :
31   myStartShapes(theAllocator),
32   myShapes(theAllocator)
33 {
34 }
35 //=======================================================================
36 //function : ~
37 //purpose  : 
38 //=======================================================================
39   inline BOPAlgo_WireEdgeSet::~BOPAlgo_WireEdgeSet()
40 {
41 }
42 //=======================================================================
43 //function : Clear
44 //purpose  : 
45 //=======================================================================
46   inline void BOPAlgo_WireEdgeSet::Clear()
47 {
48   myStartShapes.Clear();
49   myShapes.Clear();
50 }
51 //=======================================================================
52 //function : SetFace
53 //purpose  : 
54 //=======================================================================
55   inline void BOPAlgo_WireEdgeSet::SetFace(const TopoDS_Face& aF)
56 {
57   myFace=aF;
58 }
59 //=======================================================================
60 //function : Face
61 //purpose  : 
62 //=======================================================================
63   inline const TopoDS_Face& BOPAlgo_WireEdgeSet::Face()const 
64 {
65   return myFace;
66 }
67 //=======================================================================
68 //function : AddStartElement
69 //purpose  : 
70 //=======================================================================
71   inline void BOPAlgo_WireEdgeSet::AddStartElement(const TopoDS_Shape& aE)
72 {
73   myStartShapes.Append(aE);
74 }
75 //=======================================================================
76 //function : StartElements
77 //purpose  : 
78 //=======================================================================
79   inline const BOPCol_ListOfShape& BOPAlgo_WireEdgeSet::StartElements()const
80 {
81   return myStartShapes;
82 }
83 //=======================================================================
84 //function : AddShape
85 //purpose  : 
86 //=======================================================================
87   inline void BOPAlgo_WireEdgeSet::AddShape(const TopoDS_Shape& aW)
88 {
89   myShapes.Append(aW);
90 }
91 //=======================================================================
92 //function : Shapes
93 //purpose  : 
94 //=======================================================================
95   inline const BOPCol_ListOfShape& BOPAlgo_WireEdgeSet::Shapes()const
96 {
97   return myShapes;
98 }