net.agmodel.demdata
Interface GridLayer
- All Superinterfaces:
- Serializable, ServerResult
- All Known Implementing Classes:
- GridLayerImpl
- public interface GridLayer
- extends ServerResult
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()