pub fn bb2d<S, RX, RY>(rx: RX, ry: RY) -> BBox2d<S>where S: Integer, RX: RangeBounds<S>, RY: RangeBounds<S>,
Creates a 2d bounding box from ranges of x and y coordinates.