|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTagElevationCalculator
public abstract class TagElevationCalculator
relies on tags that explicitly set elevation. Subclasses determine the tag(s) to be used for this purpose.
Constructor Summary | |
---|---|
TagElevationCalculator()
|
|
TagElevationCalculator(Double terrainElevation)
|
Method Summary | |
---|---|
void |
calculateElevations(MapData mapData,
CellularTerrainElevation eleData)
provides elevation information for all elements in the MapData . |
protected abstract Double |
getEleForTags(TagGroup tags)
returns the elevation as set explicitly by the tags |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TagElevationCalculator(Double terrainElevation)
terrainElevation
- elevation for the terrainpublic TagElevationCalculator()
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; != nullprotected abstract Double getEleForTags(TagGroup tags)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |