Click or drag to resize

NearestNeighborTerrainInterpolatorInterpolateFirstPartials Method

Interpolates the first order partial derivatives of terrain height with respect to longitude and latitude and returns the value at the specified location based on the given terrain data.

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

Parameters

posts
Type: AGI.Foundation.TerrainTerrainPosts
longitude
Type: SystemDouble
The longitude, in native units.
latitude
Type: SystemDouble
The latitude, in native units.

Return Value

Type: FirstPartialsOfHeight
The first order partial derivatives, in native units.
Remarks
Note that the interpolation scheme may permit discontinuities along the boundaries of each terrain cell.
See Also