org.osm2world.core.map_elevation.creation
Class LevelTagElevationCalculator

Object
  extended by TagElevationCalculator
      extended by LevelTagElevationCalculator
All Implemented Interfaces:
ElevationCalculator

public class LevelTagElevationCalculator
extends TagElevationCalculator

sets elevations based on level tags


Constructor Summary
LevelTagElevationCalculator()
           
LevelTagElevationCalculator(double elePerLevel)
           
 
Method Summary
protected  Double getEleForTags(TagGroup tags)
          returns the elevation as set explicitly by the tags
 
Methods inherited from class TagElevationCalculator
calculateElevations
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LevelTagElevationCalculator

public LevelTagElevationCalculator(double elePerLevel)

LevelTagElevationCalculator

public LevelTagElevationCalculator()
Method Detail

getEleForTags

protected Double getEleForTags(TagGroup tags)
Description copied from class: TagElevationCalculator
returns the elevation as set explicitly by the tags

Specified by:
getEleForTags in class TagElevationCalculator
Returns:
elevation; null if the tags don't define the elevation