Click or drag to resize

CompositeTerrainProviderGetHeightNativeUnits Method (Double, Double, RasterTerrainInterpolator)

Gets the interpolated height of the terrain at the specified longitude and latitude.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 22.2.414.0 (22.2.414.0)
public double GetHeightNativeUnits(
	double longitude,
	double latitude,
	RasterTerrainInterpolator interpolator


Type: SystemDouble
The longitude, in the native units of the terrain provider.
Type: SystemDouble
The latitude, in the native units of the terrain provider.
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 the native units of the terrain provider, or NaN if the height is not available at the requested longitude and latitude.
See Also