DLESE Tools
v1.6.0

org.dlese.dpc.index.writer.xml
Class BoundingBox

java.lang.Object
  extended by org.dlese.dpc.index.writer.xml.BoundingBox

public class BoundingBox
extends Object

Struct used to hold geospatial bounding box lat lon coordinates.

Author:
John Weatherley

Constructor Summary
BoundingBox(double north, double south, double east, double west)
          Constructor for the BoundingBox object
 
Method Summary
 double getEastCoord()
          Gets the eastCoord attribute of the BoundingBox object
 double getNorthCoord()
          Gets the northCoord attribute of the BoundingBox object
 double getSouthCoord()
          Gets the southCoord attribute of the BoundingBox object
 double getWestCoord()
          Gets the westCoord attribute of the BoundingBox object
 String toString()
          String representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BoundingBox

public BoundingBox(double north,
                   double south,
                   double east,
                   double west)
            throws IllegalArgumentException
Constructor for the BoundingBox object

Parameters:
north - North lat
south - South lat
east - East lon
west - West lon
Throws:
IllegalArgumentException
Method Detail

getNorthCoord

public double getNorthCoord()
Gets the northCoord attribute of the BoundingBox object

Returns:
The northCoord value

getSouthCoord

public double getSouthCoord()
Gets the southCoord attribute of the BoundingBox object

Returns:
The southCoord value

getEastCoord

public double getEastCoord()
Gets the eastCoord attribute of the BoundingBox object

Returns:
The eastCoord value

getWestCoord

public double getWestCoord()
Gets the westCoord attribute of the BoundingBox object

Returns:
The westCoord value

toString

public String toString()
String representation

Overrides:
toString in class Object
Returns:
String for BoundinBox

DLESE Tools
v1.6.0