BilinearTerrainInterpolatorInterpolateFirstPartials 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
)
Public Overrides Function InterpolateFirstPartials (
data As TerrainPosts,
longitude As Double,
latitude As Double
) As FirstPartialsOfHeight
public:
virtual FirstPartialsOfHeight InterpolateFirstPartials(
TerrainPosts^ data,
double longitude,
double latitude
) override
abstract InterpolateFirstPartials :
data : TerrainPosts *
longitude : float *
latitude : float -> FirstPartialsOfHeight
override InterpolateFirstPartials :
data : TerrainPosts *
longitude : float *
latitude : float -> FirstPartialsOfHeight
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:
FirstPartialsOfHeightThe first order partial derivatives, in native units.
Exceptions Remarks Note that the interpolation scheme may permit discontinuities along the boundaries of each terrain cell.
See Also