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


IExtractionOp2.Circle Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IE > IExtractionOp2 Interface > IExtractionOp2.Circle Method
ArcGIS Developer Help

IExtractionOp2.Circle Method

Extracts the cells of a raster based on a circle.

[Visual Basic .NET]
Public Function Circle ( _
    ByVal geoDataset As IGeoDataset, _
    ByVal Circle As ICircularArc, _
    ByVal selectInside As Boolean _
) As IGeoDataset
[C#]
public IGeoDataset Circle (
    IGeoDataset geoDataset,
    ICircularArc Circle,
    bool selectInside
);
[C++]
HRESULT Circle(
  IGeoDataset* geoDataset,
  ICircularArc* Circle,
  VARIANT_BOOL selectInside
);
[C++]
Parameters
geoDataset [in]

geoDataset is a parameter of type IGeoDataset* Circle [in]
Circle is a parameter of type ICircularArc* selectInside [in]
selectInside is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

Remarks

geoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

The geoDataset identifies the cell values which will be selected inside or outside of a specified circle.

Circle

an ICircularArc defining circle for the selection criteria

The coordinates are specified in map units and are in the same units as the geoDataset.

selectInside

a Boolean identifying which cells should be selected, those contained in or external to the input circle

If True, the cells inside the input CircleArc should be selected and written to the output Raster. All cells outside the circle will receive NoData on the output Raster.

If the Boolean is False, the cells outside the input circle should be selected and written to the output Raster. All cells inside the circle will receive NoData on the output Raster.

 

See Also

IExtractionOp2 Interface