X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FSelect3D%2FSelect3D_SensitiveSet.cxx;h=5c737cc0257989cfb738d7633139343bacfe859b;hb=03c9cc86c6674ffb2ba8fd5ce68f5d2dfc34a443;hpb=df23a355c480441fea78470bf5dfad94aacd8add diff --git a/src/Select3D/Select3D_SensitiveSet.cxx b/src/Select3D/Select3D_SensitiveSet.cxx index d19b216dfd..5c737cc025 100644 --- a/src/Select3D/Select3D_SensitiveSet.cxx +++ b/src/Select3D/Select3D_SensitiveSet.cxx @@ -141,9 +141,9 @@ Standard_Boolean Select3D_SensitiveSet::matches (SelectBasics_SelectingVolumeMan const Select3D_BndBox3d& aGlobalBox = myContent.Box(); Standard_Boolean isFullInside = Standard_True; - if (!theMgr.Overlaps(aGlobalBox.CornerMin(), - aGlobalBox.CornerMax(), - &isFullInside)) + if (!theMgr.OverlapsBox (aGlobalBox.CornerMin(), + aGlobalBox.CornerMax(), + &isFullInside)) { return Standard_False; } @@ -177,13 +177,13 @@ Standard_Boolean Select3D_SensitiveSet::matches (SelectBasics_SelectingVolumeMan Standard_Boolean toCheckLft = Standard_True, toCheckRgh = Standard_True; if (!aNode.IsFullInside) { - toCheckLft = theMgr.Overlaps (aBVH->MinPoint (aLeft.Id), aBVH->MaxPoint (aLeft.Id), toCheckFullInside ? &aLeft.IsFullInside : NULL); + toCheckLft = theMgr.OverlapsBox (aBVH->MinPoint (aLeft.Id), aBVH->MaxPoint (aLeft.Id), toCheckFullInside ? &aLeft.IsFullInside : NULL); if (!toCheckLft) { aLeft.IsFullInside = Standard_False; } - toCheckRgh = theMgr.Overlaps (aBVH->MinPoint (aRight.Id), aBVH->MaxPoint (aRight.Id), toCheckFullInside ? &aRight.IsFullInside : NULL); + toCheckRgh = theMgr.OverlapsBox (aBVH->MinPoint (aRight.Id), aBVH->MaxPoint (aRight.Id), toCheckFullInside ? &aRight.IsFullInside : NULL); if (!toCheckRgh) { aRight.IsFullInside = Standard_False;