// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool cRect::surrounds(const cPoint& p) const { return isAboveAndBelow(p) && isLeftAndRightOf(p); }
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> bool Rectangle::surrounds(const Vector2& p) const { return isAboveAndBelow(p) && isLeftAndRightOf(p); }