Package gov.nasa.worldwind.globe
Class ElevationModel
- java.lang.Object
-
- gov.nasa.worldwind.globe.ElevationModel
-
- All Implemented Interfaces:
java.lang.Iterable<ElevationCoverage>
public class ElevationModel extends java.lang.Object implements java.lang.Iterable<ElevationCoverage>
-
-
Constructor Summary
Constructors Constructor Description ElevationModel()
ElevationModel(ElevationModel model)
ElevationModel(java.lang.Iterable<? extends ElevationCoverage> iterable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addAllCoverages(ElevationModel model)
boolean
addCoverage(ElevationCoverage coverage)
void
clearCoverages()
int
count()
ElevationCoverage
getCoverageNamed(java.lang.String name)
ElevationCoverage
getCoverageWithProperty(java.lang.Object key, java.lang.Object value)
void
getHeightGrid(Sector gridSector, int gridWidth, int gridHeight, float[] result)
void
getHeightLimits(Sector sector, float[] result)
long
getTimestamp()
java.util.Iterator<ElevationCoverage>
iterator()
boolean
removeAllCoverages(ElevationModel model)
boolean
removeCoverage(ElevationCoverage coverage)
-
-
-
Constructor Detail
-
ElevationModel
public ElevationModel()
-
ElevationModel
public ElevationModel(ElevationModel model)
-
ElevationModel
public ElevationModel(java.lang.Iterable<? extends ElevationCoverage> iterable)
-
-
Method Detail
-
count
public int count()
-
getCoverageNamed
public ElevationCoverage getCoverageNamed(java.lang.String name)
-
getCoverageWithProperty
public ElevationCoverage getCoverageWithProperty(java.lang.Object key, java.lang.Object value)
-
addCoverage
public boolean addCoverage(ElevationCoverage coverage)
-
addAllCoverages
public boolean addAllCoverages(ElevationModel model)
-
removeCoverage
public boolean removeCoverage(ElevationCoverage coverage)
-
removeAllCoverages
public boolean removeAllCoverages(ElevationModel model)
-
clearCoverages
public void clearCoverages()
-
iterator
@NonNull public java.util.Iterator<ElevationCoverage> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<ElevationCoverage>
-
getTimestamp
public long getTimestamp()
-
getHeightGrid
public void getHeightGrid(Sector gridSector, int gridWidth, int gridHeight, float[] result)
-
getHeightLimits
public void getHeightLimits(Sector sector, float[] result)
-
-