public class HeightTile extends Object
| Constructor and Description |
|---|
HeightTile(int minLat,
int minLon,
int width,
int height,
double precision,
int horizontalDegree,
int verticalDegree) |
| Modifier and Type | Method and Description |
|---|---|
double |
getHeight(double lat,
double lon) |
BufferedImage |
getImageFromArray(int[] pixels,
int width,
int height) |
boolean |
isSeaLevel() |
protected BufferedImage |
makeARGB() |
HeightTile |
setCalcMean(boolean b) |
HeightTile |
setSeaLevel(boolean b) |
void |
toImage(String imageFile) |
String |
toString() |
public HeightTile(int minLat,
int minLon,
int width,
int height,
double precision,
int horizontalDegree,
int verticalDegree)
public HeightTile setCalcMean(boolean b)
public boolean isSeaLevel()
public HeightTile setSeaLevel(boolean b)
public double getHeight(double lat,
double lon)
public void toImage(String imageFile) throws IOException
IOExceptionprotected BufferedImage makeARGB()
public BufferedImage getImageFromArray(int[] pixels, int width, int height)
Copyright © 2012–2018. All rights reserved.