org.osm2world.core.map_elevation.data
public class AreaElevationProfile extends ElevationProfile
MapArea
Constructor and Description |
---|
AreaElevationProfile(MapArea area) |
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() |
Collection<VectorXYZ> |
getPointsWithEle()
returns all points on the area where elevation values exist.
|
VectorXYZ |
getWithEle(VectorXZ pos) |
void |
setEleFunction(Function<VectorXZ,VectorXYZ> eleFunction) |
getWithEle
public AreaElevationProfile(MapArea area)
protected MapElement getElement()
getElement
in class ElevationProfile
public Collection<VectorXYZ> getPointsWithEle()
addPointWithEle(VectorXYZ)
getPointsWithEle
in class ElevationProfile
public double getEleAt(VectorXZ pos)
getEleAt
in class ElevationProfile
public VectorXYZ getWithEle(VectorXZ pos)
getWithEle
in class ElevationProfile
public void addPointWithEle(VectorXYZ pointWithEle)
ElevationCalculator
.
Must be called at least once for every outline nodepublic double getMaxEle()
getMaxEle
in class ElevationProfile
public double getMinEle()
getMinEle
in class ElevationProfile