TriangleTerrainInterpolatorInterpolateHeight Method |
Interpolates the height at a particular longitude and latitude from 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 double InterpolateHeight(
TerrainPosts data,
double longitude,
double latitude
)
Public Overrides Function InterpolateHeight (
data As TerrainPosts,
longitude As Double,
latitude As Double
) As Double
public:
virtual double InterpolateHeight(
TerrainPosts^ data,
double longitude,
double latitude
) override
abstract InterpolateHeight :
data : TerrainPosts *
longitude : float *
latitude : float -> float
override InterpolateHeight :
data : TerrainPosts *
longitude : float *
latitude : float -> float
Parameters
- data
- Type: AGI.Foundation.TerrainTerrainPosts
The terrain data. - longitude
- Type: SystemDouble
The longitude, in the native units of the terrain provider. - latitude
- Type: SystemDouble
The latitude, in the native units of the terrain provider.
Return Value
Type:
DoubleThe interpolated height, in the native units of the terrain provider.
Exceptions See Also