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:
parent
c5cb4686e9
commit
695bdd1bbc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user