|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.wms.BoundingBox
public class BoundingBox
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.
| Constructor Summary | |
|---|---|
BoundingBox(java.lang.String srs,
double minx,
double miny,
double maxx,
double maxy)
Creates a new BoundingBox with the given SRS, minima and maxima. |
|
| Method Summary | |
|---|---|
double |
getMaxX()
Gets the BoundingBox's maximum x value. |
double |
getMaxY()
Gets the BoundingBox's maximum y value. |
double |
getMinX()
Gets the BoundingBox's minimum x value. |
double |
getMinY()
Gets the BoundingBox's minimum y value. |
java.lang.String |
getSRS()
Gets the SRS string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundingBox(java.lang.String srs,
double minx,
double miny,
double maxx,
double 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 box| Method Detail |
|---|
public java.lang.String getSRS()
public double getMinX()
public double getMinY()
public double getMaxX()
public double getMaxY()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||