Click or drag to resize

HighestPostTerrainInterpolatorInterpolateFirstPartials 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: 24.3.420.0 (24.3.420.0)
Syntax
public override FirstPartialsOfHeight InterpolateFirstPartials(
	TerrainPosts data,
	double longitude,
	double latitude
)

Parameters

data
Type: AGI.Foundation.TerrainTerrainPosts
The terrain data to use when evaluating the height.
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.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when data is .
Remarks
Note that the interpolation scheme may permit discontinuities along the boundaries of each terrain cell.
See Also