org.osm2world.core.map_elevation.creation
Class ZeroElevationCalculator

Object
  extended by ZeroElevationCalculator
All Implemented Interfaces:
ElevationCalculator

public class ZeroElevationCalculator
extends Object
implements ElevationCalculator

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

ZeroElevationCalculator

public ZeroElevationCalculator()
Method Detail

calculateElevations

public void calculateElevations(MapData mapData,
                                CellularTerrainElevation eleData)
Description copied from interface: ElevationCalculator
provides elevation information for all elements in the MapData. Implementations of this method need to

Specified by:
calculateElevations in interface ElevationCalculator
Parameters:
mapData - map data without elevation profiles; != null
eleData - terrain elevation data, possibly with points with unknown information; whether null is allowed depends on the implementation