org.osm2world.core.map_elevation.data
public class WaySegmentElevationProfile extends ElevationProfile
MapWaySegment
Constructor and Description |
---|
WaySegmentElevationProfile(MapWaySegment line) |
Modifier and Type | Method and Description |
---|---|
void |
addPointWithEle(VectorXYZ pointWithEle)
adds a result of
ElevationCalculator . |
double |
getEleAt(VectorXZ pos) |
protected MapElement |
getElement() |
double |
getMaxEle() |
double |
getMinEle() |
List<VectorXYZ> |
getPointsWithEle()
returns all points along the line where elevation values exist.
|
getWithEle, getWithEle
public WaySegmentElevationProfile(MapWaySegment line)
protected MapElement getElement()
getElement
in class ElevationProfile
public List<VectorXYZ> getPointsWithEle()
addPointWithEle(VectorXYZ)
getPointsWithEle
in class ElevationProfile
public double getEleAt(VectorXZ pos)
getEleAt
in class ElevationProfile
public void addPointWithEle(VectorXYZ pointWithEle)
ElevationCalculator
.
Must be called at least twice (start and end node)public double getMaxEle()
getMaxEle
in class ElevationProfile
public double getMinEle()
getMinEle
in class ElevationProfile