CompositeTerrainProvider.GetHeight Method (Double, Double, RasterTerrainInterpolator) |
Gets the interpolated height of the terrain at the specified longitude and latitude
using the given interpolator.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic double GetHeight(
double longitude,
double latitude,
RasterTerrainInterpolator interpolator
)
Public Function GetHeight (
longitude As Double,
latitude As Double,
interpolator As RasterTerrainInterpolator
) As Double
public:
double GetHeight(
double longitude,
double latitude,
RasterTerrainInterpolator^ interpolator
)
member GetHeight :
longitude : float *
latitude : float *
interpolator : RasterTerrainInterpolator -> float
Parameters
- longitude
- Type: System.Double
The longitude, in radians. - latitude
- Type: System.Double
The latitude, in radians. - interpolator
- Type: AGI.Foundation.Terrain.RasterTerrainInterpolator
The interpolator to use to interpolate heights for points that do not fall precisely on a post.
Return Value
Type:
DoubleThe height, in meters, or
NaN if the height is not available at the requested longitude and latitude.
Remarks
See Also