com.esri.arcgis.spatialanalyst
Interface ILogicalOp

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterMathOps

public interface ILogicalOp
extends Serializable

Provides access to members that control the logical operations.

Remarks

  • Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations.
  • Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux


    Method Summary
     IGeoDataset booleanAnd(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a boolean 'and' operation on two input rasters.
     IGeoDataset booleanNot(IGeoDataset geoDataset)
              Perorms a boolean 'complement' operation on two input rasters.
     IGeoDataset booleanOr(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a boolean 'or' operation on two input rasters.
     IGeoDataset booleanXOr(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a boolean 'exclusive or' operation on two input rasters.
     IGeoDataset combinatorialAnd(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a combinatorial 'and' operation on two input rasters.
     IGeoDataset combinatorialOr(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a combinatorial 'or' operation on two input rasters.
     IGeoDataset combinatorialXOr(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Performs a combinatorial 'exclusive or' operation on two input rasters.
     IGeoDataset equalTo(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster equals than the second raster.
     IGeoDataset greaterThan(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster is greater than the second raster.
     IGeoDataset greaterThanEqual(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster is greater than or equal to the second raster.
     IGeoDataset isNull(IGeoDataset geoDataset)
              On a cell by cell basis, returns 1 if the input value is NoData, and 0 if it is not.
     IGeoDataset lessThan(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster is less than the second raster.
     IGeoDataset lessThanEqual(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster less than or equal to the second raster.
     IGeoDataset notEqual(IGeoDataset geoDataset1, IGeoDataset geoDataset2)
              Returns 1 for cells where the first raster is not equal to the second raster.
     IGeoDataset test(IRasterDescriptor geoDataset)
              Sets the output to 1 or 0 on a cell-by-cell basis based on evaluation of a boolean logical expression.
     

    Method Detail

    booleanAnd

    IGeoDataset booleanAnd(IGeoDataset geoDataset1,
                           IGeoDataset geoDataset2)
                           throws IOException,
                                  AutomationException
    Performs a boolean 'and' operation on two input rasters.

    Remarks

    geoDataset1 the first input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 the second input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    booleanNot

    IGeoDataset booleanNot(IGeoDataset geoDataset)
                           throws IOException,
                                  AutomationException
    Perorms a boolean 'complement' operation on two input rasters.

    Remarks

    geoDataset the first input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    booleanOr

    IGeoDataset booleanOr(IGeoDataset geoDataset1,
                          IGeoDataset geoDataset2)
                          throws IOException,
                                 AutomationException
    Performs a boolean 'or' operation on two input rasters.

    Remarks

    geoDataset1 the first input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 the second input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    booleanXOr

    IGeoDataset booleanXOr(IGeoDataset geoDataset1,
                           IGeoDataset geoDataset2)
                           throws IOException,
                                  AutomationException
    Performs a boolean 'exclusive or' operation on two input rasters.

    Remarks

    geoDataset1 the first input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 the second input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    combinatorialAnd

    IGeoDataset combinatorialAnd(IGeoDataset geoDataset1,
                                 IGeoDataset geoDataset2)
                                 throws IOException,
                                        AutomationException
    Performs a combinatorial 'and' operation on two input rasters.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    combinatorialOr

    IGeoDataset combinatorialOr(IGeoDataset geoDataset1,
                                IGeoDataset geoDataset2)
                                throws IOException,
                                       AutomationException
    Performs a combinatorial 'or' operation on two input rasters.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    combinatorialXOr

    IGeoDataset combinatorialXOr(IGeoDataset geoDataset1,
                                 IGeoDataset geoDataset2)
                                 throws IOException,
                                        AutomationException
    Performs a combinatorial 'exclusive or' operation on two input rasters.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    greaterThan

    IGeoDataset greaterThan(IGeoDataset geoDataset1,
                            IGeoDataset geoDataset2)
                            throws IOException,
                                   AutomationException
    Returns 1 for cells where the first raster is greater than the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    greaterThanEqual

    IGeoDataset greaterThanEqual(IGeoDataset geoDataset1,
                                 IGeoDataset geoDataset2)
                                 throws IOException,
                                        AutomationException
    Returns 1 for cells where the first raster is greater than or equal to the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    lessThan

    IGeoDataset lessThan(IGeoDataset geoDataset1,
                         IGeoDataset geoDataset2)
                         throws IOException,
                                AutomationException
    Returns 1 for cells where the first raster is less than the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    lessThanEqual

    IGeoDataset lessThanEqual(IGeoDataset geoDataset1,
                              IGeoDataset geoDataset2)
                              throws IOException,
                                     AutomationException
    Returns 1 for cells where the first raster less than or equal to the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    equalTo

    IGeoDataset equalTo(IGeoDataset geoDataset1,
                        IGeoDataset geoDataset2)
                        throws IOException,
                               AutomationException
    Returns 1 for cells where the first raster equals than the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    notEqual

    IGeoDataset notEqual(IGeoDataset geoDataset1,
                         IGeoDataset geoDataset2)
                         throws IOException,
                                AutomationException
    Returns 1 for cells where the first raster is not equal to the second raster.

    Remarks

    geoDataset1 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor
    geoDataset2 a positive integer input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset1 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    geoDataset2 - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    test

    IGeoDataset test(IRasterDescriptor geoDataset)
                     throws IOException,
                            AutomationException
    Sets the output to 1 or 0 on a cell-by-cell basis based on evaluation of a boolean logical expression.

    Remarks

    geoDataSet an input RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geoanalyst.IRasterDescriptor (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    isNull

    IGeoDataset isNull(IGeoDataset geoDataset)
                       throws IOException,
                              AutomationException
    On a cell by cell basis, returns 1 if the input value is NoData, and 0 if it is not.

    Remarks

    geoDataset an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    Returns:
    A reference to a com.esri.arcgis.geodatabase.IGeoDataset
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.