net.agmodel.demdata
Interface GridLayer

All Superinterfaces:
Serializable, ServerResult
All Known Implementing Classes:
GridLayerImpl

public interface GridLayer
extends ServerResult


Method Summary
 double get(double latitude, double longitude)
           
 double get(Location2D location)
           
 GeographicalBox getBounds()
           
 double getEast()
           
 double getLatitude(int yIndex)
           
 double getLatitudeRes()
           
 double getLatitudeSpread()
           
 double getLongitude(int xIndex)
           
 double getLongitudeRes()
           
 double getLongitudeSpread()
           
 Location2D getNearestPointTo(Location2D location, boolean northWest)
          Returns the nearest measurement point to the specified location in a northWest or southEast direction
 double getNorth()
           
 Location2D getNorthWest()
           
 DEMSourceDetail getSourceDetail()
           
 double getSouth()
           
 Location2D getSouthEast()
           
 double getWest()
           
 int getXIndex(double longitude)
           
 int getYIndex(double latitude)
           
 boolean isLand(double latitude, double longitude)
           
 

Method Detail

getSourceDetail

public DEMSourceDetail getSourceDetail()

getLongitude

public double getLongitude(int xIndex)

getLatitude

public double getLatitude(int yIndex)

getNearestPointTo

public Location2D getNearestPointTo(Location2D location,
                                    boolean northWest)
Returns the nearest measurement point to the specified location in a northWest or southEast direction

Parameters:
location - the point of interest.
northWest - whether the point northWest or southEast is wanted.
Returns:
the location of the nearest measurement point

getXIndex

public int getXIndex(double longitude)

getYIndex

public int getYIndex(double latitude)

isLand

public boolean isLand(double latitude,
                      double longitude)

get

public double get(double latitude,
                  double longitude)

get

public double get(Location2D location)

getBounds

public GeographicalBox getBounds()

getNorthWest

public Location2D getNorthWest()

getSouthEast

public Location2D getSouthEast()

getNorth

public double getNorth()

getSouth

public double getSouth()

getEast

public double getEast()

getWest

public double getWest()

getLatitudeSpread

public double getLatitudeSpread()

getLongitudeSpread

public double getLongitudeSpread()

getLatitudeRes

public double getLatitudeRes()

getLongitudeRes

public double getLongitudeRes()