mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-10 12:28:17 +08:00
0022844: Bug in Select2d_SensitiveSegment
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user