org.osm2world.core.map_elevation.data
Class AreaElevationProfile
Object
ElevationProfile
AreaElevationProfile
public class AreaElevationProfile
- extends ElevationProfile
elevation profile for a MapArea
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AreaElevationProfile
public AreaElevationProfile(MapArea area)
getElement
protected MapElement getElement()
- Specified by:
getElement
in class ElevationProfile
getPointsWithEle
public Collection<VectorXYZ> getPointsWithEle()
- returns all points on the area where elevation values exist.
This will at least include the outline points.
Points are not sorted in any way. Must not be used before calculation
results have been set using
addPointWithEle(VectorXYZ)
- Specified by:
getPointsWithEle
in class ElevationProfile
getEleAt
public double getEleAt(VectorXZ pos)
- Specified by:
getEleAt
in class ElevationProfile
addPointWithEle
public void addPointWithEle(VectorXYZ pointWithEle)
- adds a result of
ElevationCalculator
.
Must be called at least once for every outline node
getMaxEle
public double getMaxEle()
- Specified by:
getMaxEle
in class ElevationProfile
getMinEle
public double getMinEle()
- Specified by:
getMinEle
in class ElevationProfile