Click or drag to resize

NearestNeighborTerrainInterpolatorInterpolateHeight Method

Interpolates the height at a particular longitude and latitude from given terrain data.

Namespace:  AGI.Foundation.Terrain
Assembly:  AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 19.1.398.0 (19.1.398.0)
Syntax
public override double InterpolateHeight(
	TerrainPosts posts,
	double longitude,
	double latitude
)

Parameters

posts
Type: AGI.Foundation.TerrainTerrainPosts
longitude
Type: SystemDouble
The longitude, in the native units of the terrain provider.
latitude
Type: SystemDouble
The latitude, in the native units of the terrain provider.

Return Value

Type: Double
The interpolated height, in the native units of the terrain provider.
See Also