bool contains(Point<T> point) { return (point.x >= min.x) && (point.x <= max.x) && (point.y >= min.y) && (point.y <= max.y); }