org.geotools.data.ows
Class BoundingBox
java.lang.Object
org.geotools.data.ows.LatLonBoundingBox
org.geotools.data.ows.BoundingBox
- public class BoundingBox
- extends LatLonBoundingBox
A pair of coordinates and a reference system that represents a section of
the Earth
- Author:
- Richard Gould
Constructor Summary |
BoundingBox()
Construct an empty BoundingBox |
BoundingBox(java.lang.String crs,
double minX,
double minY,
double maxX,
double maxY)
Create a bounding box with the specified properties |
Method Summary |
java.lang.String |
getCrs()
The CRS is bounding box's Coordinate Reference System |
void |
setCrs(java.lang.String crs)
The CRS is bounding box's Coordinate Reference System |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BoundingBox
public BoundingBox()
- Construct an empty BoundingBox
BoundingBox
public BoundingBox(java.lang.String crs,
double minX,
double minY,
double maxX,
double maxY)
- Create a bounding box with the specified properties
- Parameters:
crs
- The Coordinate Reference System this bounding box is inminX
- minY
- maxX
- maxY
-
getCrs
public java.lang.String getCrs()
- The CRS is bounding box's Coordinate Reference System
- Returns:
- the CRS/SRS value
setCrs
public void setCrs(java.lang.String crs)
- The CRS is bounding box's Coordinate Reference System
- Parameters:
crs
- the new value for the CRS/SRS
Copyright © GeoTools. All Rights Reserved.