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


IMathOp.PowerByCellValue Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IMathOp.PowerByCellValue Method

Raises the cells in a raster to the power of values found in another raster.

[Visual Basic .NET]
Public Function PowerByCellValue ( _
    ByVal geoDataset As IGeoDataset, _
    ByVal powerDataset As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset PowerByCellValue (
    IGeoDataset geoDataset,
    IGeoDataset powerDataset
);
[C++]
HRESULT PowerByCellValue(
  IGeoDataset* geoDataset,
  IGeoDataset* powerDataset,
  IGeoDataset** outGeodataset
);
[C++]

Parameters geoDataset [in]
geoDataset is a parameter of type IGeoDataset powerDataset [in]
powerDataset is a parameter of type IGeoDataset 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

powerDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor. It

defines the power to which to raise the input on a cell by cell basis

 

See Also

IMathOp Interface