This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > SpatialAnalyst > ESRI.ArcGIS.SpatialAnalyst > Interfaces > IZ > IZonalOp Interface > IZonalOp.ZonalGeometry Method (ArcObjects .NET 10.4 SDK) |
Calculates for each zone of the input zone Dataset the specified geometry measure.
[Visual Basic .NET] Public Function ZonalGeometry ( _ ByVal zoneDataset As IGeoDataset, _ ByVal Type As esriGeoAnalysisZonalGeometryEnum _ ) As IGeoDataset
[C#] public IGeoDataset ZonalGeometry ( IGeoDataset zoneDataset, esriGeoAnalysisZonalGeometryEnum Type );
[C++]
HRESULT ZonalGeometry(
IGeoDataset* zoneDataset,
esriGeoAnalysisZonalGeometryEnum Type,
IGeoDataset** geometryGeoDataset
);
[C++]
Parameters zoneDataset [in]
zoneDataset is a parameter of type IGeoDataset Type [in]
Type is a parameter of type esriGeoAnalysisZonalGeometryEnum geometryGeoDataset [out, retval]
geometryGeoDataset is a parameter of type IGeoDataset
zoneDataset | an input Raster, RasterDataset, RasterBand, or RasterDescriptor or FeatureClass, FeatureClassDescriptor that identifies the zone for each cell location |
type | an esriGeoAnalysisZonalGeometryEnum that defines which zonal calculations will be performed on the zoneDataset
The esriGeoAnalysisZonalGeometryEnums are: esriGeoAnalysisZonalGeometryArea for zonal area calculations. esriGeoAnalysisZonalGeometryCentroid for zone centroid calculations. esriGeoAnalysisZonalGeometryPerimeter for zonal perimeter calculations. esriGeoAnalysisZonalGeometryThickness for zonal thickness calculations. For complete information on the zonal calculations performed by each esriGeoAnalysisZonalGeometryEnum, refer to the individual command reference. |