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


ISurfaceOp.ContourAsPolyline Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IS > ISurfaceOp Interface > ISurfaceOp.ContourAsPolyline Method
ArcGIS Developer Help

ISurfaceOp.ContourAsPolyline Method

Creates a single contour or isoline that passes through a specified point on a surface.

[Visual Basic .NET]
Public Sub ContourAsPolyline ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal inputPoint As IPoint, _
    ByRef contourLine As IPolyline, _
    ByRef elevation As Double _
)
[C#]
public void ContourAsPolyline (
    IGeoDataset GeoDataset,
    IPoint inputPoint,
    ref IPolyline contourLine,
    ref double elevation
);
[C++]
HRESULT ContourAsPolyline(
  IGeoDataset* GeoDataset,
  IPoint* inputPoint,
  IPolyline** contourLine,
  System.Double* elevation
);
[C++]
Parameters
GeoDataset [in]

GeoDataset is a parameter of type IGeoDataset* inputPoint [in]
inputPoint is a parameter of type IPoint* contourLine [out]
contourLine is a parameter of type IPolyline** elevation [out]
elevation is a parameter of type double*

Product Availability

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

Remarks

GeoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured

inputPoint

an input point feature defined by a point object using IPoint interface which the resulting contour or isoline will pass through

contourLine

the output contour or isoline polyline object which represents the constant cell values of the input point.

elevation

an output double value which represents the cell value that the input point intersects with in the input GeoDataset.  This value therefore can be used to describe the value of the output contour line

 

See Also

ISurfaceOp Interface