- //! \param aLocation a new location
- Standard_EXPORT Handle(Select3D_SensitiveEntity) GetConnected (const TopLoc_Location& aLocation) ;
-
- //! Checks whether the sensitive entity matches the picking
- //! detection area (close to the picking line).
- //! For details please refer to base class declaration.
- Standard_EXPORT Standard_Boolean Matches (const SelectBasics_PickArgs& thePickArgs, Standard_Real& theMatchDMin, Standard_Real& theMatchDepth) ;
-
- /// Returns true if the current point is matches with given rectangle
- /// \param XMin an X min coordinate
- /// \param YMin an Y min coordinate
- /// \param XMax an X max coordinate
- /// \param YMax an Y max coordinate
- /// \param aTol a tolerance
- Standard_EXPORT Standard_Boolean Matches (const Standard_Real XMin, const Standard_Real YMin, const Standard_Real XMax, const Standard_Real YMax, const Standard_Real aTol) ;
-
- Standard_EXPORT virtual Standard_Boolean Matches (const TColgp_Array1OfPnt2d& Polyline, const Bnd_Box2d& aBox, const Standard_Real aTol) ;
-
- Standard_EXPORT Standard_Real ComputeDepth (const gp_Lin& EyeLine) const;
-
+ Standard_EXPORT virtual Handle(Select3D_SensitiveEntity) GetConnected() Standard_OVERRIDE;
+
+ //! Checks whether the point overlaps current selecting volume
+ //! \param theMgr selection manager
+ //! \param thePickResult returns pick result
+ Standard_EXPORT virtual Standard_Boolean Matches (SelectBasics_SelectingVolumeManager& theMgr,
+ SelectBasics_PickResult& thePickResult) Standard_OVERRIDE;
+