interpolateHeight
open override fun interpolateHeight(rectangle: Rectangle, longitude: Double, latitude: Double): Double(source)
Computes the terrain height at a specified longitude and latitude.
Return
The terrain height at the specified position. If the position is outside the rectangle, this method will extrapolate the height, which is likely to be wildly incorrect for positions far outside the rectangle.
Parameters
rectangle
The rectangle covered by this terrain data.
longitude
The longitude in radians.
latitude
The latitude in radians.