This document is archived and information here might be outdated. Recommended version. |
Returns the z value of the specified location.
[Visual Basic .NET] Public Function GetElevation ( _ ByVal pPoint As IPoint _ ) As Double
[C#] public double GetElevation ( IPoint pPoint );
[C++]
HRESULT GetElevation(
IPoint* pPoint
);
[C++] Parameters pPoint [in]
pPoint is a parameter of type IPoint*
Returns the height for the specified location.
Bilinear interpolation is used on a raster surface. Linear interpolation is used on a TIN surface
A void value is returned if the query point does not fall within the interpolation zone of the surface. You can check for this case using ISurface.IsVoidZ on the returned value.