1 // Created on: 1995-02-07
2 // Created by: Christophe MARION
3 // Copyright (c) 1995-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <HLRTopoBRep_FaceData.hxx>
19 #include <TopoDS_Shape.hxx>
20 #include <TopoDS_Face.hxx>
21 #include <TopoDS_Edge.hxx>
22 #include <TopoDS_Vertex.hxx>
24 //=======================================================================
27 //=======================================================================
29 inline const TopTools_ListOfShape &
30 HLRTopoBRep_Data::EdgeSplE (const TopoDS_Edge& E) const
35 //=======================================================================
38 //=======================================================================
40 inline const TopTools_ListOfShape &
41 HLRTopoBRep_Data::FaceIntL (const TopoDS_Face& F) const
43 return myData(F).FaceIntL();
46 //=======================================================================
49 //=======================================================================
51 inline const TopTools_ListOfShape &
52 HLRTopoBRep_Data::FaceOutL (const TopoDS_Face& F) const
54 return myData(F).FaceOutL();
57 //=======================================================================
60 //=======================================================================
62 inline const TopTools_ListOfShape &
63 HLRTopoBRep_Data::FaceIsoL (const TopoDS_Face& F) const
65 return myData(F).FaceIsoL();
68 //=======================================================================
71 //=======================================================================
73 inline Standard_Boolean
74 HLRTopoBRep_Data::IsOutV (const TopoDS_Vertex& V) const
76 return myOutV.Contains(V);
79 //=======================================================================
82 //=======================================================================
84 inline Standard_Boolean
85 HLRTopoBRep_Data::IsIntV (const TopoDS_Vertex& V) const
87 return myIntV.Contains(V);
90 //=======================================================================
93 //=======================================================================
95 inline void HLRTopoBRep_Data::AddOutV (const TopoDS_Vertex& V)
100 //=======================================================================
103 //=======================================================================
105 inline void HLRTopoBRep_Data::AddIntV (const TopoDS_Vertex& V)
110 //=======================================================================
111 //function : MoreEdge
113 //=======================================================================
115 inline Standard_Boolean HLRTopoBRep_Data::MoreEdge () const
117 return myEIterator.More();
120 //=======================================================================
123 //=======================================================================
125 inline const TopoDS_Edge & HLRTopoBRep_Data::Edge () const
127 return TopoDS::Edge(myEIterator.Key());
130 //=======================================================================
131 //function : MoreVertex
133 //=======================================================================
135 inline Standard_Boolean HLRTopoBRep_Data::MoreVertex () const
137 return myVIterator.More();
140 //=======================================================================
141 //function : NextVertex
143 //=======================================================================
145 inline void HLRTopoBRep_Data::NextVertex ()