File indexing completed on 2025-01-18 10:03:10
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 <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
0024
0025 #include <TopoDS_Edge.hxx>
0026 #include <TopoDS_Face.hxx>
0027
0028
0029
0030
0031
0032 class BRepClass_Edge
0033 {
0034 public:
0035
0036 DEFINE_STANDARD_ALLOC
0037
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();
0045 const TopoDS_Edge& Edge() const;
0046
0047
0048 TopoDS_Face& Face();
0049 const TopoDS_Face& Face() const;
0050
0051
0052 const TopoDS_Edge& NextEdge() const
0053 {
0054 return myNextEdge;
0055 }
0056
0057
0058 Standard_EXPORT void SetNextEdge(const TopTools_IndexedDataMapOfShapeListOfShape& theMapVE);
0059
0060
0061 Standard_Real MaxTolerance() const
0062 {
0063 return myMaxTolerance;
0064 }
0065
0066
0067
0068 void SetMaxTolerance(const Standard_Real theValue)
0069 {
0070 myMaxTolerance = theValue;
0071 }
0072
0073
0074
0075 Standard_Boolean UseBndBox() const
0076 {
0077 return myUseBndBox;
0078 }
0079
0080
0081
0082 void SetUseBndBox(const Standard_Boolean theValue)
0083 {
0084 myUseBndBox = theValue;
0085 }
0086
0087
0088 protected:
0089
0090
0091
0092
0093
0094 private:
0095
0096
0097
0098 TopoDS_Edge myEdge;
0099 TopoDS_Face myFace;
0100 TopoDS_Edge myNextEdge;
0101 Standard_Real myMaxTolerance;
0102 Standard_Boolean myUseBndBox;
0103
0104 };
0105
0106
0107 #include <BRepClass_Edge.lxx>
0108
0109
0110
0111
0112
0113 #endif