bool containsBounds(Bounds<T> b) { return (b.min.x >= min.x) && (b.max.x <= max.x) && (b.min.y >= min.y) && (b.max.y <= max.y); }