org.iges.util
Class Bounds.World

java.lang.Object
  |
  +--org.iges.util.Bounds.World
Enclosing class:
Bounds

public static class Bounds.World
extends java.lang.Object

Represents a 4-dimensional constraint in world (absolute) coordinates. Latitude, longitude are in degrees. Elevation has no standard units. Time is stored as a Java Date object.


Field Summary
 Range.Double lat
           
 Range.Double lev
           
 Range.Double lon
           
 Range.Date time
           
 
Constructor Summary
Bounds.World(Range.Double _lon, Range.Double _lat, Range.Double _lev, Range.Date _time)
          Creates a Bounds.World object with the constraints given.
Bounds.World(java.lang.String list)
          Creates a Bounds.World object from a space-separated string.
 
Method Summary
 java.lang.String toString()
          Returns a string representation of the world bounds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lon

public Range.Double lon

lat

public Range.Double lat

lev

public Range.Double lev

time

public Range.Date time
Constructor Detail

Bounds.World

public Bounds.World(Range.Double _lon,
                    Range.Double _lat,
                    Range.Double _lev,
                    Range.Date _time)
Creates a Bounds.World object with the constraints given. No min < max validation is performed.


Bounds.World

public Bounds.World(java.lang.String list)
             throws java.lang.IllegalArgumentException
Creates a Bounds.World object from a space-separated string. The format of the string is "lon1 lon2 lat1 lat2 lev1 lev2 time1 time2". This constructor is used in parsing request URL's.

Method Detail

toString

public java.lang.String toString()
Returns a string representation of the world bounds. This representation can be used to create a new Bounds.World object.

Overrides:
toString in class java.lang.Object