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


IExtractionOp2.Points Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IExtractionOp2.Points Method

Extracts the cells of a raster based on points.

[Visual Basic .NET]
Public Function Points ( _
    ByVal geoDataset As IGeoDataset, _
    ByVal Points As IPointCollection, _
    ByVal selectInside As Boolean _
) As IGeoDataset
[C#]
public IGeoDataset Points (
    IGeoDataset geoDataset,
    IPointCollection Points,
    bool selectInside
);
[C++]
HRESULT Points(
  IGeoDataset* geoDataset,
  IPointCollection* Points,
  VARIANT_BOOL selectInside,
  IGeoDataset** outGeodataset
);
[C++]

Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset Points [in]
Points is a parameter of type IPointCollection selectInside [in] selectInside is a parameter of type VARIANT_BOOL outGeodataset [out, retval]
outGeodataset is a parameter of type IGeoDataset

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 a specified point.

Points

an IPointsCollection identifying the coordinates of the points to be selected

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

selectInside

a Boolean specifying which cells should be selected, those contained in or external to, the cell containing the selected point

If True, the cell in which the selected point falls will be written to the output Raster. All cells outside the box will receive NoData on the output Raster.

If the Boolean is False, the cells outside the input cells should be selected and written to the output Raster. The cell within which the selected point falls will receive NoData on the output Raster.

 

See Also

IExtractionOp2 Interface