This document is archived and information here might be outdated.  Recommended version.


ISurface.GetSteepestPath Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.GetSteepestPath Method
ArcGIS Developer Help

ISurface.GetSteepestPath Method

Returns the steepest path downhill from the specified point.

[Visual Basic .NET]
Public Function GetSteepestPath ( _
    ByVal pPoint As IPoint _
) As IPolyline
[C#]
public IPolyline GetSteepestPath (
    IPoint pPoint
);
[C++]
HRESULT GetSteepestPath(
  IPoint* pPoint
);
[C++]
Parameters
pPoint [in]

pPoint is a parameter of type IPoint*

Product Availability

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

Description

Returns the steepest downhill path, the direction of steepest slope, from the specified query point.  It will start at the query point and end in a pit or the edge of the surface. The returned polyline will be 3D.

The resulting polyline pointer will be set to Nil (nothing) if the query point falls outside the surface or on a flat area.

 

See Also

ISurface Interface