Warning, /include/opencascade/HLRTopoBRep_Data.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 1995-02-07
0002 // Created by: Christophe MARION
0003 // Copyright (c) 1995-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016
0017 #include <HLRTopoBRep_FaceData.hxx>
0018 #include <TopoDS.hxx>
0019 #include <TopoDS_Shape.hxx>
0020 #include <TopoDS_Face.hxx>
0021 #include <TopoDS_Edge.hxx>
0022 #include <TopoDS_Vertex.hxx>
0023
0024 //=================================================================================================
0025
0026 inline const NCollection_List<TopoDS_Shape>& HLRTopoBRep_Data::EdgeSplE(const TopoDS_Edge& E) const
0027 {
0028 return mySplE(E);
0029 }
0030
0031 //=================================================================================================
0032
0033 inline const NCollection_List<TopoDS_Shape>& HLRTopoBRep_Data::FaceIntL(const TopoDS_Face& F) const
0034 {
0035 return myData(F).FaceIntL();
0036 }
0037
0038 //=================================================================================================
0039
0040 inline const NCollection_List<TopoDS_Shape>& HLRTopoBRep_Data::FaceOutL(const TopoDS_Face& F) const
0041 {
0042 return myData(F).FaceOutL();
0043 }
0044
0045 //=================================================================================================
0046
0047 inline const NCollection_List<TopoDS_Shape>& HLRTopoBRep_Data::FaceIsoL(const TopoDS_Face& F) const
0048 {
0049 return myData(F).FaceIsoL();
0050 }
0051
0052 //=================================================================================================
0053
0054 inline bool HLRTopoBRep_Data::IsOutV(const TopoDS_Vertex& V) const
0055 {
0056 return myOutV.Contains(V);
0057 }
0058
0059 //=================================================================================================
0060
0061 inline bool HLRTopoBRep_Data::IsIntV(const TopoDS_Vertex& V) const
0062 {
0063 return myIntV.Contains(V);
0064 }
0065
0066 //=================================================================================================
0067
0068 inline void HLRTopoBRep_Data::AddOutV(const TopoDS_Vertex& V)
0069 {
0070 myOutV.Add(V);
0071 }
0072
0073 //=================================================================================================
0074
0075 inline void HLRTopoBRep_Data::AddIntV(const TopoDS_Vertex& V)
0076 {
0077 myIntV.Add(V);
0078 }
0079
0080 //=================================================================================================
0081
0082 inline bool HLRTopoBRep_Data::MoreEdge() const
0083 {
0084 return myEIterator.More();
0085 }
0086
0087 //=================================================================================================
0088
0089 inline const TopoDS_Edge& HLRTopoBRep_Data::Edge() const
0090 {
0091 return TopoDS::Edge(myEIterator.Key());
0092 }
0093
0094 //=================================================================================================
0095
0096 inline bool HLRTopoBRep_Data::MoreVertex() const
0097 {
0098 return myVIterator.More();
0099 }
0100
0101 //=================================================================================================
0102
0103 inline void HLRTopoBRep_Data::NextVertex()
0104 {
0105 myVIterator.Next();
0106 }