Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-10-30 09:26:35

0001 // Created by: Peter KURNEV
0002 // Copyright (c) 2010-2014 OPEN CASCADE SAS
0003 // Copyright (c) 2007-2010 CEA/DEN, EDF R&D, OPEN CASCADE
0004 // Copyright (c) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT,
0005 //                         EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
0006 //
0007 // This file is part of Open CASCADE Technology software library.
0008 //
0009 // This library is free software; you can redistribute it and/or modify it under
0010 // the terms of the GNU Lesser General Public License version 2.1 as published
0011 // by the Free Software Foundation, with special exception defined in the file
0012 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0013 // distribution for complete text of the license and disclaimer of any warranty.
0014 //
0015 // Alternatively, this file may be used under the terms of Open CASCADE
0016 // commercial license or contractual agreement.
0017 
0018 #ifndef _BOPAlgo_WireEdgeSet_HeaderFile
0019 #define _BOPAlgo_WireEdgeSet_HeaderFile
0020 
0021 #include <Standard.hxx>
0022 #include <Standard_DefineAlloc.hxx>
0023 #include <Standard_Handle.hxx>
0024 
0025 #include <NCollection_BaseAllocator.hxx>
0026 #include <TopoDS_Face.hxx>
0027 #include <TopoDS_Shape.hxx>
0028 #include <NCollection_List.hxx>
0029 class TopoDS_Face;
0030 class TopoDS_Shape;
0031 
0032 class BOPAlgo_WireEdgeSet
0033 {
0034 public:
0035   DEFINE_STANDARD_ALLOC
0036 
0037   BOPAlgo_WireEdgeSet();
0038   virtual ~BOPAlgo_WireEdgeSet();
0039 
0040   BOPAlgo_WireEdgeSet(const occ::handle<NCollection_BaseAllocator>& theAllocator);
0041 
0042   void Clear();
0043 
0044   void SetFace(const TopoDS_Face& aF);
0045 
0046   const TopoDS_Face& Face() const;
0047 
0048   void AddStartElement(const TopoDS_Shape& sS);
0049 
0050   const NCollection_List<TopoDS_Shape>& StartElements() const;
0051 
0052   void AddShape(const TopoDS_Shape& sS);
0053 
0054   const NCollection_List<TopoDS_Shape>& Shapes() const;
0055 
0056 protected:
0057   TopoDS_Face                    myFace;
0058   NCollection_List<TopoDS_Shape> myStartShapes;
0059   NCollection_List<TopoDS_Shape> myShapes;
0060 };
0061 
0062 #include <BOPAlgo_WireEdgeSet.lxx>
0063 
0064 #endif // _BOPAlgo_WireEdgeSet_HeaderFile