Click or drag to resize

NearestNeighborTerrainInterpolatorInterpolateSecondPartials Method

Interpolates the second order (mixed) 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.2.419.0 (24.2.419.0)
Syntax
public override SecondPartialsOfHeight InterpolateSecondPartials(
	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: SecondPartialsOfHeight
The second order (mixed) 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