CompositeTerrainProviderGetHeightNativeUnits Method (Double, Double, RasterTerrainInterpolator) |
Gets the interpolated height of the terrain at the specified longitude and latitude.
Namespace:
AGI.Foundation.Terrain
Assembly:
AGI.Foundation.TerrainReaders (in AGI.Foundation.TerrainReaders.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public double GetHeightNativeUnits(
double longitude,
double latitude,
RasterTerrainInterpolator interpolator
)
Public Function GetHeightNativeUnits (
longitude As Double,
latitude As Double,
interpolator As RasterTerrainInterpolator
) As Double
public:
double GetHeightNativeUnits(
double longitude,
double latitude,
RasterTerrainInterpolator^ interpolator
)
member GetHeightNativeUnits :
longitude : float *
latitude : float *
interpolator : RasterTerrainInterpolator -> 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. - interpolator
- Type: AGI.Foundation.TerrainRasterTerrainInterpolator
The interpolator to use to interpolate heights for points that do not fall precisely on a post.
Return Value
Type:
DoubleThe height, in the native units of the terrain provider, or
NaN if the height is not available at the requested longitude and latitude.
See Also