| java.lang.Object com.vividsolutions.wms.BoundingBox
BoundingBox | public class BoundingBox (Code) | | Represents a bounding box in a specific projection.
A BoundingBox is immutable, so you must create a new BoundingBox object,
rather than modify the the values of an existing BoundingBox.
author: chodgson@refractions.net |
Constructor Summary | |
public | BoundingBox(String srs, double minx, double miny, double maxx, double maxy) Creates a new BoundingBox with the given SRS, minima and maxima. |
Method Summary | |
public double | getMaxX() Gets the BoundingBox's maximum x value. | public double | getMaxY() Gets the BoundingBox's maximum y value. | public double | getMinX() Gets the BoundingBox's minimum x value. | public double | getMinY() Gets the BoundingBox's minimum y value. | public String | getSRS() Gets the SRS string. |
BoundingBox | public BoundingBox(String srs, double minx, double miny, double maxx, double maxy)(Code) | | Creates a new BoundingBox with the given SRS, minima and maxima.
Parameters: srs - a WMS-style SRS string such as "EPSG:1234", or thespecial string "LatLon" for a latitude/longitude box Parameters: minx - the minimum x-value of the bounding box Parameters: miny - the minimum y-value of the bounding box Parameters: maxx - the maximum x-value of the bounding box Parameters: maxy - the maximum y-value of the bounding box |
getMaxX | public double getMaxX()(Code) | | Gets the BoundingBox's maximum x value.
the BoundingBox's maximum x value |
getMaxY | public double getMaxY()(Code) | | Gets the BoundingBox's maximum y value.
the BoundingBox's maximum y value |
getMinX | public double getMinX()(Code) | | Gets the BoundingBox's minimum x value.
the BoundingBox's minimum x value |
getMinY | public double getMinY()(Code) | | Gets the BoundingBox's minimum y value.
the BoundingBox's minimum y value |
getSRS | public String getSRS()(Code) | | Gets the SRS string.
the BoundingBox's SRS WMS-style string |
|
|