TerrainProviderGetHeightNativeUnits Method |
Gets the interpolated height of the terrain at the specified longitude and latitude.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public abstract double GetHeightNativeUnits(
double longitude,
double latitude
)
Public MustOverride Function GetHeightNativeUnits (
longitude As Double,
latitude As Double
) As Double
public:
virtual double GetHeightNativeUnits(
double longitude,
double latitude
) abstract
abstract GetHeightNativeUnits :
longitude : float *
latitude : float -> float
Parameters
- 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:
Double
The height, in the native units of the terrain provider, or
NaN if the height is not available at the requested longitude and latitude.
Remarks
If HeightReference is ReferenceSurface,
the returned height is relative to the surface specified by the ReferenceSurface property.
If HeightReference is Shape,
the returned height is relative to the ellipsoid specified by the Shape property.
This method may return NaN if the requested longitude and latitude are outside
the terrain region or if the terrain data indicates that the height is unknown.
It is safe to call this method from multiple threads simultaneously.
See Also