org.osm2world.core.map_elevation.creation
public class ZeroElevationCalculator extends Object implements ElevationCalculator
Constructor and Description |
---|
ZeroElevationCalculator() |
Modifier and Type | Method and Description |
---|---|
void |
calculateElevations(MapData mapData,
TerrainElevationData eleData)
provides elevation information for all elements in the
MapData . |
public void calculateElevations(MapData mapData, TerrainElevationData 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;
whether null is allowed depends on the implementation