|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ZeroElevationCalculator
public class ZeroElevationCalculator
assigns an elevation of 0 to everything. Useful for certain use cases, e.g. fast creation of tiled pseudo-3D tiles.
Constructor Summary | |
---|---|
ZeroElevationCalculator()
|
Method Summary | |
---|---|
void |
calculateElevations(MapData mapData,
CellularTerrainElevation eleData)
provides elevation information for all elements in the MapData . |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ZeroElevationCalculator()
Method Detail |
---|
public void calculateElevations(MapData mapData, CellularTerrainElevation eleData)
ElevationCalculator
MapData
.
Implementations of this method need to ElevationProfile
s for all MapElement
sTerrainPoint
s with unknown
elevation by using TerrainPoint.setEle(float)
.
calculateElevations
in interface ElevationCalculator
mapData
- map data without elevation profiles; != nulleleData
- terrain elevation data, possibly with points
with unknown information;
whether null is allowed depends on the implementation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |