File indexing completed on 2026-10-03 09:15:21
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _BRepClass_Edge_HeaderFile
0018 #define _BRepClass_Edge_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 #include <TopoDS_Shape.hxx>
0024 #include <NCollection_List.hxx>
0025 #include <TopTools_ShapeMapHasher.hxx>
0026 #include <NCollection_IndexedDataMap.hxx>
0027
0028 #include <TopoDS_Edge.hxx>
0029 #include <TopoDS_Face.hxx>
0030
0031
0032
0033
0034 class BRepClass_Edge
0035 {
0036 public:
0037 DEFINE_STANDARD_ALLOC
0038
0039 Standard_EXPORT BRepClass_Edge();
0040
0041 Standard_EXPORT BRepClass_Edge(const TopoDS_Edge& E, const TopoDS_Face& F);
0042
0043
0044 TopoDS_Edge& Edge() { return myEdge; }
0045
0046 const TopoDS_Edge& Edge() const { return myEdge; }
0047
0048
0049 TopoDS_Face& Face() { return myFace; }
0050
0051 const TopoDS_Face& Face() const { return myFace; }
0052
0053
0054 const TopoDS_Edge& NextEdge() const { return myNextEdge; }
0055
0056
0057 Standard_EXPORT void SetNextEdge(
0058 const NCollection_IndexedDataMap<TopoDS_Shape,
0059 NCollection_List<TopoDS_Shape>,
0060 TopTools_ShapeMapHasher>& theMapVE);
0061
0062
0063 double MaxTolerance() const { return myMaxTolerance; }
0064
0065
0066
0067 void SetMaxTolerance(const double theValue) { myMaxTolerance = theValue; }
0068
0069
0070
0071 bool UseBndBox() const { return myUseBndBox; }
0072
0073
0074
0075 void SetUseBndBox(const bool theValue) { myUseBndBox = theValue; }
0076
0077 private:
0078 TopoDS_Edge myEdge;
0079 TopoDS_Face myFace;
0080 TopoDS_Edge myNextEdge;
0081 double myMaxTolerance;
0082 bool myUseBndBox;
0083 };
0084
0085 #endif