net.agmodel.demdata
Class GridFloatImpl
java.lang.Object
|
+--net.agmodel.demdata.GridLayerImpl
|
+--net.agmodel.demdata.GridFloatImpl
- All Implemented Interfaces:
- GridLayer, Serializable, ServerResult
- public class GridFloatImpl
- extends GridLayerImpl
- See Also:
- Serialized Form
|
Field Summary |
static float |
SEA
|
| Methods inherited from class net.agmodel.demdata.GridLayerImpl |
get, getBounds, getEast, getLatitude, getLatitudeRes, getLatitudeSpread, getLongitude, getLongitudeRes, getLongitudeSpread, getNearestPointTo, getNorth, getNorthWest, getnX, getnY, getSourceDetail, getSouth, getSouthEast, getWest, getXIndex, getYIndex, setSourceDetail |
SEA
public static final float SEA
- See Also:
- Constant Field Values
GridFloatImpl
public GridFloatImpl(GeographicalBox region,
double latRes,
double longRes,
DEMSourceDetail sourceDetails)
putData
public void putData(Location l)
markAsSea
public void markAsSea(Location l)
markAsSea
public void markAsSea(int xIndex,
int yIndex)
putData
public void putData(int xIndex,
int yIndex,
float[] input)
get
public double get(double latitude,
double longitude)
isLand
public boolean isLand(double latitude,
double longitude)
- Specified by:
isLand in interface GridLayer- Specified by:
isLand in class GridLayerImpl
toString
public String toString()
- Overrides:
toString in class Object