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


ISurface.GetSteepestPath Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  IPolyline** ppPath
);
[C++]

Parameters pPoint [in]
pPoint is a parameter of type IPoint ppPath [out, retval]
ppPath is a parameter of type IPolyline

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