public class BoundingBox extends Object
| Constructor and Description |
|---|
BoundingBox(String srs,
float minx,
float miny,
float maxx,
float maxy)
Creates a new BoundingBox with the given SRS, minima and maxima.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getMaxX()
Gets the BoundingBox's maximum x value.
|
float |
getMaxY()
Gets the BoundingBox's maximum y value.
|
float |
getMinX()
Gets the BoundingBox's minimum x value.
|
float |
getMinY()
Gets the BoundingBox's minimum y value.
|
String |
getSRS()
Gets the SRS string.
|
public BoundingBox(String srs, float minx, float miny, float maxx, float maxy)
srs - a WMS-style SRS string such as "EPSG:1234", or the
special string "LatLon" for a latitude/longitude boxminx - the minimum x-value of the bounding boxminy - the minimum y-value of the bounding boxmaxx - the maximum x-value of the bounding boxmaxy - the maximum y-value of the bounding boxpublic String getSRS()
public float getMinX()
public float getMinY()
public float getMaxX()
public float getMaxY()
Copyright © 2015. All rights reserved.