+// class to compare curves in the same way as in GeomAPI_Edge
+class Model_CurvesHasher
+{
+public:
+ DEFINE_STANDARD_ALLOC
+ /// standard hash code
+ static int HashCode (const Handle(Geom_Curve)& theCurve, const Standard_Integer Upper);
+ /// comapre curves by parameters and points on them
+ static bool IsEqual (const Handle(Geom_Curve)& theC1, const Handle(Geom_Curve)& theC2);
+};
+
+// class to compare edges in the same way as in GeomAPI_Edge
+class Model_EdgesHasher
+{
+public:
+ DEFINE_STANDARD_ALLOC
+ /// standard hash code
+ static int HashCode (const TopoDS_Edge& theEdge, const Standard_Integer Upper);
+ /// comapre curves by parameters and points on them
+ static bool IsEqual (const TopoDS_Edge& theE1, const TopoDS_Edge& theE2);
+};
+
+