BarycentricTerrainInterpolator.InterpolateFirstPartials 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)
Syntaxpublic override FirstPartialsOfHeight InterpolateFirstPartials(
QuantizedMeshTerrainTile data,
double longitude,
double latitude
)
Public Overrides Function InterpolateFirstPartials (
data As QuantizedMeshTerrainTile,
longitude As Double,
latitude As Double
) As FirstPartialsOfHeight
public:
virtual FirstPartialsOfHeight InterpolateFirstPartials(
QuantizedMeshTerrainTile^ data,
double longitude,
double latitude
) override
abstract InterpolateFirstPartials :
data : QuantizedMeshTerrainTile *
longitude : float *
latitude : float -> FirstPartialsOfHeight
override InterpolateFirstPartials :
data : QuantizedMeshTerrainTile *
longitude : float *
latitude : float -> FirstPartialsOfHeight
Parameters
- data
- Type: AGI.Foundation.Terrain.QuantizedMeshTerrainTile
The terrain data to use when evaluating the height. - longitude
- Type: System.Double
The longitude, in native units. - latitude
- Type: System.Double
The latitude, in native units.
Return Value
Type:
FirstPartialsOfHeightThe first order partial derivatives, in native units.
Exceptions
RemarksNote that the interpolation scheme may permit discontinuities along the boundaries of each terrain cell.
See Also