0032337: Visualization - rename Overlaps() method in selection to more self-describab...
[occt.git] / src / Select3D / Select3D_InteriorSensitivePointSet.cxx
index 564e3f7..03d8d0a 100644 (file)
@@ -270,7 +270,7 @@ Standard_Boolean Select3D_InteriorSensitivePointSet::overlapsElement (SelectBasi
   const Handle(Select3D_SensitivePoly)& aPolygon = myPlanarPolygons.Value (aPolygIdx);
   Handle(TColgp_HArray1OfPnt) aPoints;
   aPolygon->Points3D (aPoints);
-  return theMgr.Overlaps (aPoints, Select3D_TOS_INTERIOR, thePickResult);
+  return theMgr.OverlapsPolygon (aPoints, Select3D_TOS_INTERIOR, thePickResult);
 }
 
 // =======================================================================