| 898 | |
| 899 | template<typename T> |
| 900 | bool Rectangle<T>::contains(const T& x, const T& y) const noexcept |
| 901 | { |
| 902 | return (x >= pos.x && y >= pos.y && x <= pos.x+size.fWidth && y <= pos.y+size.fHeight); |
| 903 | } |
| 904 | |
| 905 | template<typename T> |
| 906 | bool Rectangle<T>::contains(const Point<T>& p) const noexcept |
no test coverage detected