Click or drag to resize

CompositeTerrainProviderGetHeight 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: 24.3.420.0 (24.3.420.0)
Syntax
public double GetHeight(
	double longitude,
	double latitude,
	RasterTerrainInterpolator interpolator
)

Parameters

longitude
Type: SystemDouble
The longitude, in radians.
latitude
Type: SystemDouble
The latitude, in radians.
interpolator
Type: AGI.Foundation.TerrainRasterTerrainInterpolator
The interpolator to use to interpolate heights for points that do not fall precisely on a post.

Return Value

Type: Double
The height, in meters, or NaN if the height is not available at the requested longitude and latitude.
Remarks

For a TerrainProvider that is not a derivation of a RasterTerrainProvider, the interpolator parameter is ignored.

See Also