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 |
setInterpolate(boolean interpolate) |
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 setInterpolate(boolean interpolate)
public boolean isSeaLevel()
public HeightTile setSeaLevel(boolean b)
public double getHeight(double lat, double lon)
public void toImage(String imageFile) throws IOException
IOException
protected BufferedImage makeARGB()
public BufferedImage getImageFromArray(int[] pixels, int width, int height)
Copyright © 2012–2020. All rights reserved.