public class Elevation
extends java.lang.Object
implements java.lang.AutoCloseable
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
|
Elevation(Elevation elevation) |
protected |
Elevation(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
delete() |
protected void |
finalize() |
Vector |
getBottomRight()
Coordinates of the bottom right corner.
|
java.util.Optional<Chunk> |
getChunk()
Chunk container, may be null.
|
protected static long |
getCPtr(Elevation obj) |
float |
getElevation(Vector pt)
Get elevation value at the specified point.
|
long |
getHeight()
Elevation model height.
|
int |
getKey()
Elevation model identifier.
|
java.lang.String |
getLabel()
Elevation model label.
|
float |
getMaxElevation()
Maximum elevation value.
|
java.util.Map<java.lang.String,java.lang.String> |
getMeta()
Elevation model meta data.
|
float |
getMinElevation()
Minimum elevation value.
|
java.lang.String |
getPath()
Path to elevation data.
|
OrthoProjection |
getProjection()
Projection of elevation model.
|
double |
getResolution()
DEM resolution in meters.
|
Vector |
getTopLeft()
Coordinates of the top left corner.
|
long |
getWidth()
Elevation model width.
|
void |
setLabel(java.lang.String label)
Elevation model label.
|
void |
setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
Elevation model meta data.
|
protected Elevation(long cPtr, boolean cMemoryOwn)
public Elevation(Elevation elevation)
protected static long getCPtr(Elevation obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public void close()
close
in interface java.lang.AutoCloseable
public int getKey()
public java.util.Optional<Chunk> getChunk()
public void setLabel(java.lang.String label)
public java.lang.String getLabel()
public java.lang.String getPath()
public void setMeta(java.util.Map<java.lang.String,java.lang.String> meta)
public java.util.Map<java.lang.String,java.lang.String> getMeta()
public long getWidth()
public long getHeight()
public Vector getTopLeft()
public Vector getBottomRight()
public OrthoProjection getProjection()
public double getResolution()
public float getMinElevation()
public float getMaxElevation()
public float getElevation(Vector pt)