ArcObjects Library Reference (Geometry)  

IFunctionalSurface.Z Property

The surface Z = f(x,y).

[Visual Basic .NET]
Public Function get_Z ( _
    ByVal X As Double, _
    ByVal Y As Double _
) As Double
[C#]
public double get_Z (
    double X,
    double Y
);
[C++]
HRESULT get_Z(
  double X,
  double Y,
  double* Z
);
[C++]

Parameters

X   X is a parameter of type double Y   Y is a parameter of type double Z [out, retval]   Z is a parameter of type double

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the Z value for the (x, y) coordinate on the FunctionalSurface.  If the (x, y) coordinate is outside of the Domain for which the FunctionalSurface is defined, a NaN is returned.

See Also

IFunctionalSurface Interface