0031047: Modeling Algorithms - BRepExtrema_DistShapeShape gives wrong result
[occt.git] / src / BRepClass / BRepClass_Edge.hxx
index 9c07502..fe742f3 100644 (file)
 #include <Standard.hxx>
 #include <Standard_DefineAlloc.hxx>
 #include <Standard_Handle.hxx>
+#include <TopTools_IndexedDataMapOfShapeListOfShape.hxx>
 
 #include <TopoDS_Edge.hxx>
 #include <TopoDS_Face.hxx>
-class TopoDS_Edge;
-class TopoDS_Face;
 
 
 //! This class  is used to send  the  description of an
@@ -41,13 +40,22 @@ public:
   
   Standard_EXPORT BRepClass_Edge(const TopoDS_Edge& E, const TopoDS_Face& F);
   
-    TopoDS_Edge& Edge();
+  //! Returns the current Edge  
+  TopoDS_Edge& Edge();
 const TopoDS_Edge& Edge() const;
   
-    TopoDS_Face& Face();
+  //! Returns the Face for the current Edge
+  TopoDS_Face& Face();
 const TopoDS_Face& Face() const;
 
+  //! Returns the next Edge
+  const TopoDS_Edge& NextEdge() const
+  {
+    return myNextEdge;
+  }
 
+  //! Finds and sets the next Edge for the current
+  Standard_EXPORT void SetNextEdge(const TopTools_IndexedDataMapOfShapeListOfShape& theMapVE);
 
 
 protected:
@@ -62,7 +70,7 @@ private:
 
   TopoDS_Edge myEdge;
   TopoDS_Face myFace;
-
+  TopoDS_Edge myNextEdge;
 
 };