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


ISurfaceOp.ContoursAsPolylines 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.ContoursAsPolylines Method
ArcGIS Developer Help

ISurfaceOp.ContoursAsPolylines Method

Creates multiple contours or isolines that pass through specified points on a surface.

[Visual Basic .NET]
Public Sub ContoursAsPolylines ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal inputPoints As IPointCollection, _
    ByRef contourLines As IGeometryCollection, _
    ByRef outputPointsWithElevations As IPointCollection _
)
[C#]
public void ContoursAsPolylines (
    IGeoDataset GeoDataset,
    IPointCollection inputPoints,
    ref IGeometryCollection contourLines,
    ref IPointCollection outputPointsWithElevations
);
[C++]
HRESULT ContoursAsPolylines(
  IGeoDataset* GeoDataset,
  IPointCollection* inputPoints,
  IGeometryCollection** contourLines,
  IPointCollection** outputPointsWithElevations
);
[C++]
Parameters
GeoDataset [in]

GeoDataset is a parameter of type IGeoDataset* inputPoints [in]
inputPoints is a parameter of type IPointCollection* contourLines [out]
contourLines is a parameter of type IGeometryCollection** outputPointsWithElevations [out]
outputPointsWithElevations is a parameter of type IPointCollection**

Product Availability

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

Remarks

GeoDataset

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

inputPoints

a input collection of points using IPointCollection which specifies where multiple contours or isolines will pass through.

contourLines

the output collection of polylines from IGeometryCollection representing multiple contour or isolines that identify the constant cell values of the input points.

outputPointsWithElevations

an output point collection which can be used to obtain the cell value (z attribute) of the (i)th point object that intersects with input GeoDataset thus describing the value of the (i)th output contour line

 

See Also

ISurfaceOp Interface