]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Pnt2d.h
Salome HOME
refs #222: Fatal error for 0 distance
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt2d.h
index b7f97890861ba22be7824497a8a8fda31249f7b5..4470a2aa6d0a995170c2a6e44a09790bf0983438 100644 (file)
@@ -45,6 +45,9 @@ class GEOMAPI_EXPORT GeomAPI_Pnt2d : public GeomAPI_Interface
 
   /// Distance between two points
   double distance(const boost::shared_ptr<GeomAPI_Pnt2d>& theOther) const;
+
+  /// Returns whether the distance between two points is less then precision confusion
+  bool isEqual(const boost::shared_ptr<GeomAPI_Pnt2d>& theOther) const;
 };
 
 #endif