bool overlaps(Range2D otherRange) => xRange.overlaps(otherRange.xRange) && yRange.overlaps(otherRange.yRange);