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


IBitwiseOp.RightShift Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IBitwiseOp.RightShift Method

Performs a bitwise 'right shift' operation on the binary value of two input GeoDatasets.

[Visual Basic .NET]
Public Function RightShift ( _
    ByVal geoDataset1 As IGeoDataset, _
    ByVal geoDataset2 As IGeoDataset _
) As IGeoDataset
[C#]
public IGeoDataset RightShift (
    IGeoDataset geoDataset1,
    IGeoDataset geoDataset2
);
[C++]
HRESULT RightShift(
  IGeoDataset* geoDataset1,
  IGeoDataset* geoDataset2,
  IGeoDataset** outGeodataset
);
[C++]

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

geoDataset1 the first input Raster, RasterDataset, RasterBand, or RasterDescriptor to perform the shift on
geoDataset2 the second input Raster, RasterDataset, RasterBand, or RasterDescriptor defining the number of positions to shift the bits

 

See Also

IBitwiseOp Interface

.NET Snippets

Create BitwiseOp Right Shift Raster