projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0027282: [Regression to 6.9.1] smesh/bugs_00/A6: Cut produces an empty shape
[occt.git]
/
src
/
IntSurf
/
IntSurf_PntOn2S.cxx
diff --git
a/src/IntSurf/IntSurf_PntOn2S.cxx
b/src/IntSurf/IntSurf_PntOn2S.cxx
index
14a25d2
..
4397630
100644
(file)
--- a/
src/IntSurf/IntSurf_PntOn2S.cxx
+++ b/
src/IntSurf/IntSurf_PntOn2S.cxx
@@
-57,7
+57,7
@@
Standard_Boolean IntSurf_PntOn2S::IsSame( const IntSurf_PntOn2S& theOterPoint,
if(pt.SquareDistance(theOterPoint.Value()) > theTol3D*theTol3D)
return Standard_False;
- if(
IsEqual(theTol2D, 0.0)
)
+ if(
theTol2D < 0.0
)
{//We need not compare 2D-coordinates of the points
return Standard_True;
}