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


ISurfaceOp2.ContourAsPolyline Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoAnalyst)  

ISurfaceOp2.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,
  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

ISurfaceOp2 Interface