1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00

0022844: Bug in Select2d_SensitiveSegment

This commit is contained in:
SAN 2012-02-22 12:49:54 +00:00 committed by bugmaster
parent c5cb4686e9
commit 695bdd1bbc

View File

@ -112,7 +112,7 @@ Matches (const Standard_Real XMin,
Bnd_Box2d BoundBox;
BoundBox.Update(XMin-TheTol,YMin-TheTol,XMax+TheTol,YMax+TheTol);
if (BoundBox.IsOut(mystart)&&BoundBox.IsOut(myend)) return Standard_False;
if (BoundBox.IsOut(mystart)||BoundBox.IsOut(myend)) return Standard_False;
return Standard_True;
}