]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/GeomAPI/GeomAPI_Pnt.h
Salome HOME
Copyright update 2022
[modules/shaper.git] / src / GeomAPI / GeomAPI_Pnt.h
index 4fd518d9deb5208524a98af5a993ec314ba739ae..10cd12a8e4b751a021a1a33cff187598ee1f7224 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -81,7 +81,8 @@ class GeomAPI_Pnt : public GeomAPI_Interface
   /// In case of X's are equal, if Y is less than other.
   /// If Y's are equal too, compare Z's.
   GEOMAPI_EXPORT
-  bool isLess(const std::shared_ptr<GeomAPI_Pnt>& theOther) const;
+  bool isLess(const std::shared_ptr<GeomAPI_Pnt>& theOther,
+              const double theTolerance = 1.e-7) const;
 
   /// Projects a point to the plane defined by the origin and 2 axes vectors in this plane
   GEOMAPI_EXPORT