This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISurface Interface > ISurface.GetSteepestPath Method (ArcObjects .NET 10.4 SDK) |
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
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.