org.geotools.data.ows
Class BoundingBox

java.lang.Object
  extended byorg.geotools.data.ows.LatLonBoundingBox
      extended byorg.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

Field Summary
 
Fields inherited from class org.geotools.data.ows.LatLonBoundingBox
maxX, maxY, minX, minY
 
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 org.geotools.data.ows.LatLonBoundingBox
getMaxX, getMaxY, getMinX, getMinY, setMaxX, setMaxY, setMinX, setMinY
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 in
minX -
minY -
maxX -
maxY -
Method Detail

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.