0032337: Visualization - rename Overlaps() method in selection to more self-describab...
[occt.git] / src / MeshVS / MeshVS_SensitivePolyhedron.cxx
index d64f322..447028c 100644 (file)
@@ -86,7 +86,7 @@ Standard_Boolean MeshVS_SensitivePolyhedron::Matches (SelectBasics_SelectingVolu
   SelectBasics_PickResult aPickResult;
   for (MeshVS_PolyhedronVertsIter aIter (myTopology); aIter.More(); aIter.Next())
   {
-    if (theMgr.Overlaps (aIter.Value(), Select3D_TOS_INTERIOR, aPickResult))
+    if (theMgr.OverlapsPolygon (aIter.Value(), Select3D_TOS_INTERIOR, aPickResult))
     {
       thePickResult = SelectBasics_PickResult::Min (thePickResult, aPickResult);
     }