|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.maryanovsky.map.client.opengis.wms.BoundingBox
public final class BoundingBox
Encapsulates a bounding box as defined by the Web Map Service Implementation Specification. Note that this class is used for LatLonBoundingBox as well, with the SRS always set to "EPSG:4326" and unspecified resolution values.
| Constructor Summary | |
|---|---|
BoundingBox(Element element)
Creates a new BoundingBox from the specified
BoundingBox or LatLonBoundingBox element that
defines it. |
|
| Method Summary | |
|---|---|
double |
getMaxX()
Returns the maximum X coordinate. |
double |
getMaxY()
Returns the maximum Y coordinate. |
double |
getMinX()
Returns the minimum X coordinate. |
double |
getMinY()
Returns the minimum Y coordinate. |
double |
getResX()
Returns the resolution on the X axis; 0 if unspecified. |
double |
getResY()
Returns the resolution on the Y axis; 0 if unspecified. |
String |
getSrs()
Retuns the spatial reference system in which this box is defined. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoundingBox(Element element)
throws ParseException
BoundingBox from the specified
BoundingBox or LatLonBoundingBox element that
defines it.
ParseException| Method Detail |
|---|
public String getSrs()
public double getMinX()
public double getMinY()
public double getMaxX()
public double getMaxY()
public double getResX()
public double getResY()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||