X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIntSurf%2FIntSurf_PntOn2S.hxx;h=a6cc213d489895200bb3ad704e3db1b9cf50553a;hp=7dd65db9a1bc159e0db4aba110083c16a3c09324;hb=eee615ad2a98d1f55ac157fbee151ffe691ad56e;hpb=42cf5bc1cacbc83b1bf8639227311ad726522ace diff --git a/src/IntSurf/IntSurf_PntOn2S.hxx b/src/IntSurf/IntSurf_PntOn2S.hxx index 7dd65db9a1..a6cc213d48 100644 --- a/src/IntSurf/IntSurf_PntOn2S.hxx +++ b/src/IntSurf/IntSurf_PntOn2S.hxx @@ -74,8 +74,8 @@ public: //! Returns TRUE if 2D- and 3D-coordinates of theOterPoint are equal to //! corresponding coordinates of me (with given tolerance). - //! If theTol2D == 0.0 we will compare 3D-points only. - Standard_EXPORT Standard_Boolean IsSame (const IntSurf_PntOn2S& theOterPoint, const Standard_Real theTol3D = 0.0, const Standard_Real theTol2D = 0.0) const; + //! If theTol2D < 0.0 we will compare 3D-points only. + Standard_EXPORT Standard_Boolean IsSame (const IntSurf_PntOn2S& theOterPoint, const Standard_Real theTol3D = 0.0, const Standard_Real theTol2D = -1.0) const;