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


INeighborhoodOp.PointStatistics Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IN > INeighborhoodOp Interface > INeighborhoodOp.PointStatistics Method
ArcGIS Developer Help

INeighborhoodOp.PointStatistics Method

Calculates a statistic on the points in a neighborhood around each output cell.

[Visual Basic .NET]
Public Function PointStatistics ( _
    ByVal pointDataset As IGeoDataset, _
    ByVal Type As esriGeoAnalysisStatisticsEnum, _
    ByVal nbrhood As IRasterNeighborhood _
) As IGeoDataset
[C#]
public IGeoDataset PointStatistics (
    IGeoDataset pointDataset,
    esriGeoAnalysisStatisticsEnum Type,
    IRasterNeighborhood nbrhood
);
[C++]
HRESULT PointStatistics(
  IGeoDataset* pointDataset,
  esriGeoAnalysisStatisticsEnum Type,
  IRasterNeighborhood* nbrhood
);
[C++]
Parameters
pointDataset [in]

pointDataset is a parameter of type IGeoDataset* Type [in]
Type is a parameter of type esriGeoAnalysisStatisticsEnum nbrhood [in]
nbrhood is a parameter of type IRasterNeighborhood*

Product Availability

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

Remarks

pointDataset

input FeatureClass or FeatureClassDescriptor containing point features

type

an esriGeoAnalysisStatisticsEnum to determine which statistic will be calculated on the values of points in the neighborhood of each output Raster cell

The enumeration types are:

esriGeoAnalysisStatsMajority for the majority value, esriGeoAnalysisStatsMaximum for the maximum value, esriGeoAnalysisStatsMean for the mean, esriGeoAnalysisStatsMedian for the median, esriGeoAnalysisStatsMinimum for the minimum value, esriGeoAnalysisStatsMinority for the minority value, esriGeoAnalysisStatsRange for the range of values, esriGeoAnalysisStatsStd for the standard deviation, esriGeoAnalysisStatsSum for the sum of the values, or esriGeoAnalysisStatsVariety for the variety of the values.

nbrhood

an IRasterNeighborhood defining the configuration of the neighborhoods within which the point statistics will be calculated

INeighborhood::PointStatistics supports any neighborhood supported by IRasterNeighborhood. They include a rectangle, circle, annulus, wedge, and an irregular shaped neighborhood. The neighborhood will be defined by the minimum-bounding rectangle of the specified neighborhood. The minimum-bounding rectangle will include more cells then the specified neighborhood in certain cases such as with a circle, annulus, and wedge.

 

See Also

INeighborhoodOp Interface