com.esri.arcgis.geoanalyst
Interface IRasterNeighborhood2

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterNeighborhood

public interface IRasterNeighborhood2
extends Serializable

Provides access to additional members that control the analytical region used when performing neighborhood analsis.

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.


    Method Summary
     void setAnnulus(double innerRadius, double outerRadius, int unitsType)
              Sets an annulus neighborhood object.
     void setCircle(double radius, int unitsType)
              Sets a circle neighborhood object.
     void setDefault()
              Sets a default neighborhood object.
     void setHighPassFilter()
              Sets a 3 x 3 high-pass filter neighborhood.
     void setIrregular(int height, int width, Object entryValues)
              Sets a neighborhood object each of whose entries can be turned on or off.
     void setIrregularFile(String fileName)
              Sets an irregular neighborhood by a file.
     void setLowPassFilter()
              Sets a 3 x 3 low-pass filter neighborhood.
     void setRectangle(double width, double height, int unitsType)
              Sets a rectangle neighborhood object.
     void setWedge(double radius, double startAngle, double endAngle, int unitsType)
              Sets a wedge neighborhood object.
     void setWeight(int height, int width, Object entryValues)
              Sets a neighborhood object each of whose entries can be assigned a weight.
     void setWeightFile(String fileName)
              Sets a weight neighborhood by a file.
     

    Method Detail

    setDefault

    void setDefault()
                    throws IOException,
                           AutomationException
    Sets a default neighborhood object.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setAnnulus

    void setAnnulus(double innerRadius,
                    double outerRadius,
                    int unitsType)
                    throws IOException,
                           AutomationException
    Sets an annulus neighborhood object.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    innerRadius - The innerRadius (in)
    outerRadius - The outerRadius (in)
    unitsType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisUnitsEnum constant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setCircle

    void setCircle(double radius,
                   int unitsType)
                   throws IOException,
                          AutomationException
    Sets a circle neighborhood object.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    radius - The radius (in)
    unitsType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisUnitsEnum constant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setIrregular

    void setIrregular(int height,
                      int width,
                      Object entryValues)
                      throws IOException,
                             AutomationException
    Sets a neighborhood object each of whose entries can be turned on or off.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    height - The height (in)
    width - The width (in)
    entryValues - A Variant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setRectangle

    void setRectangle(double width,
                      double height,
                      int unitsType)
                      throws IOException,
                             AutomationException
    Sets a rectangle neighborhood object.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    width - The width (in)
    height - The height (in)
    unitsType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisUnitsEnum constant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setWedge

    void setWedge(double radius,
                  double startAngle,
                  double endAngle,
                  int unitsType)
                  throws IOException,
                         AutomationException
    Sets a wedge neighborhood object.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    radius - The radius (in)
    startAngle - The startAngle (in)
    endAngle - The endAngle (in)
    unitsType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisUnitsEnum constant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setWeight

    void setWeight(int height,
                   int width,
                   Object entryValues)
                   throws IOException,
                          AutomationException
    Sets a neighborhood object each of whose entries can be assigned a weight.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    height - The height (in)
    width - The width (in)
    entryValues - A Variant (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setHighPassFilter

    void setHighPassFilter()
                           throws IOException,
                                  AutomationException
    Sets a 3 x 3 high-pass filter neighborhood.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setLowPassFilter

    void setLowPassFilter()
                          throws IOException,
                                 AutomationException
    Sets a 3 x 3 low-pass filter neighborhood.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setIrregularFile

    void setIrregularFile(String fileName)
                          throws IOException,
                                 AutomationException
    Sets an irregular neighborhood by a file.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    fileName - The fileName (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.

    setWeightFile

    void setWeightFile(String fileName)
                       throws IOException,
                              AutomationException
    Sets a weight neighborhood by a file.

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

    Parameters:
    fileName - The fileName (in)
    Throws:
    IOException - If there are interop problems.
    AutomationException - If the ArcObject component throws an exception.