Sets the center of the bounding box, keeping its size and moving its position.
Adjusts the bounding box to have the wanted aspect ratio, expanding it as needed along either width or height. If aspect is given as width and height, it only defines the ratio; not a specific width/height for the new bounding box.
Scales the bounding box around its center.
Returns an OpenLayers-style {@link Extent} representing the same box.
Transforms the bounding box by a given translation and scale.
Translates the bounding box by an x,y offset.
Translates the BBox by a fraction of its current size. This is convenient if you're doing visual inspection and needs to "nudge the bounding box a bit to the right", without having to worry about the absolute coordinate values.
Sets the height of the bounding box, implicitly changing the aspect ratio.
Sets the size of the bounding box, respecting the current setting and adjusting other values.
Sets the width of the bounding box, implicitly changing the aspect ratio.
Creates a bounding box of the same extent as the given object.
Creates a bounding box defined by the four corners. The given min and max will automatically be swapped if needed. All other values (width, height, aspect ratio, center) will automatically be calculated.
Creates a bounding box of a given size, with no position specified yet.
Calculates the needed transformation to transform this bounding box into another, e.g. mapping an area covering certain geographical coordinates to a normalized space from (0,0) to (1,1).