org.osm2world.core.map_elevation.data
Class WaySegmentElevationProfile
Object
ElevationProfile
WaySegmentElevationProfile
public class WaySegmentElevationProfile
- extends ElevationProfile
elevation profile for a MapWaySegment
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WaySegmentElevationProfile
public WaySegmentElevationProfile(MapWaySegment line)
getElement
protected MapElement getElement()
- Specified by:
getElement
in class ElevationProfile
getPointsWithEle
public List<VectorXYZ> getPointsWithEle()
- returns all points along the line where elevation values exist. This will
at least include the starting and end point of the line. Other elements
in between are ordered along the line. 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 twice (start and end node)
getMaxEle
public double getMaxEle()
- Specified by:
getMaxEle
in class ElevationProfile
getMinEle
public double getMinEle()
- Specified by:
getMinEle
in class ElevationProfile