0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / BOPAlgo / BOPAlgo_WireEdgeSet.hxx
CommitLineData
42cf5bc1 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 under
10// the terms of the GNU Lesser General Public License 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#ifndef _BOPAlgo_WireEdgeSet_HeaderFile
19#define _BOPAlgo_WireEdgeSet_HeaderFile
20
21#include <Standard.hxx>
22#include <Standard_DefineAlloc.hxx>
23#include <Standard_Handle.hxx>
24
1155d05a 25#include <NCollection_BaseAllocator.hxx>
42cf5bc1 26#include <TopoDS_Face.hxx>
1155d05a 27#include <TopTools_ListOfShape.hxx>
42cf5bc1 28class TopoDS_Face;
29class TopoDS_Shape;
30
31
32
33class BOPAlgo_WireEdgeSet
34{
35public:
36
37 DEFINE_STANDARD_ALLOC
38
39
40 BOPAlgo_WireEdgeSet();
41 virtual ~BOPAlgo_WireEdgeSet();
42
1155d05a 43 BOPAlgo_WireEdgeSet(const Handle(NCollection_BaseAllocator)& theAllocator);
42cf5bc1 44
45 void Clear();
46
47 void SetFace (const TopoDS_Face& aF);
48
49 const TopoDS_Face& Face() const;
50
51 void AddStartElement (const TopoDS_Shape& sS);
52
1155d05a 53 const TopTools_ListOfShape& StartElements() const;
42cf5bc1 54
55 void AddShape (const TopoDS_Shape& sS);
56
1155d05a 57 const TopTools_ListOfShape& Shapes() const;
42cf5bc1 58
59
60
61
62protected:
63
64
65
66 TopoDS_Face myFace;
1155d05a 67 TopTools_ListOfShape myStartShapes;
68 TopTools_ListOfShape myShapes;
42cf5bc1 69
70
71private:
72
73
74
75
76
77};
78
79
80#include <BOPAlgo_WireEdgeSet.lxx>
81
82
83
84
85
86#endif // _BOPAlgo_WireEdgeSet_HeaderFile