com.esri.arcgis.spatialanalyst
Class RasterHydrologyOp

java.lang.Object
  extended by com.esri.arcgis.spatialanalyst.RasterHydrologyOp
All Implemented Interfaces:
IGeoAnalysisEnvironment, IRasterAnalysisEnvironment, com.esri.arcgis.interop.RemoteObjRef, IHydrologyOp, IHydrologyOp2, ISupportErrorInfo, java.io.Serializable

public class RasterHydrologyOp
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterAnalysisEnvironment, IHydrologyOp, IHydrologyOp2, ISupportErrorInfo

COM Class 'RasterHydrologyOp'. Generated 3/19/2015 1:20:46 PM from 'C:\ArcGIS\COM\esriSpatialAnalyst.olb'

Description 'A mechanism for performing hydrological operations on rasters.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geoanalyst.IRasterAnalysisEnvironment
IID, IID3297e9c5_93a1_11d2_9f33_00c04f8ed1d7, xxDummy
 
Fields inherited from interface com.esri.arcgis.geoanalyst.IGeoAnalysisEnvironment
IID3297e9c8_93a1_11d2_9f33_00c04f8ed1d7
 
Fields inherited from interface com.esri.arcgis.spatialanalyst.IHydrologyOp
IID, IID768f40da_de80_11d3_9f8a_00c04f8ef00e, xxDummy
 
Fields inherited from interface com.esri.arcgis.spatialanalyst.IHydrologyOp2
IID, IID12ea5171_d931_452a_a713_4dbf495ad07c, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Constructor Summary
RasterHydrologyOp()
          Constructs a RasterHydrologyOp using ArcGIS Engine.
RasterHydrologyOp(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterHydrologyOp theRasterHydrologyOp = (RasterHydrologyOp) obj;
 
Method Summary
 IGeoDataset basin(IGeoDataset directionRaster)
          Creates a raster delineating all drainage basins.
 boolean equals(java.lang.Object o)
          Compare this object with another
 IGeoDataset fill(IGeoDataset surfaceRaster, java.lang.Object zLimit)
          Fills sinks in a surface to remove small imperfections in the data.
 IGeoDataset flowAccumulation(IGeoDataset directionRaster, java.lang.Object weightRaster)
          Creates a raster of accumulated flow to each cell.
 IGeoDataset flowAccumulationInt(IGeoDataset directionRaster, java.lang.Object weightRaster)
          Creates an integer raster of accumulated flow to each cell.
 IGeoDataset flowDirection(IGeoDataset surfaceRaster, boolean createDrop, boolean forceFlowAtEdge)
          Creates a raster of flow direction from each cell to it's steepest downslope neighbor.
 IGeoDataset flowLength(IGeoDataset directionRaster, boolean downStream, java.lang.Object weightRaster)
          Calculates distance, or weighted distance along a flow path.
 void getCellSize(int[] envType, double[] cellSize)
          Gets the type and value of cell size in the RasterAnalysis.
static java.lang.String getClsid()
          getClsid.
 java.lang.String getDefaultOutputRasterPrefix()
          The default output raster prefix.
 java.lang.String getDefaultOutputVectorPrefix()
          The default output vector prefix.
 void getExtent(int[] envType, IEnvelope[] extent)
          Gets the type and values of extent in the RasterAnalysis.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IGeoDataset getMask()
          Mask allows processing to occur only for a selected set of cells.
 ISpatialReference getOutSpatialReference()
          The output spatial reference of GeoAnalysis.
 IWorkspace getOutWorkspace()
          The output workspace of GeoAnalysis.
 int getVerifyType()
          The verify type of the RasterAnalysis.
 int hashCode()
          the hashcode for this object
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 void release()
          Release a RasterHydrologyOp.
 void reset()
          Remove all previously stored default rasteranalysis environments.
 void restoreToPreviousDefaultEnvironment()
          Restores to the previous default raster analysis environment.
 void setAsNewDefaultEnvironment()
          Sets the raster analysis environment of the object as new default environment.
 void setCellSize(int envType, java.lang.Object cellSizeProvider)
          Sets the type and value of cell size in the RasterAnalysis.
 void setDefaultOutputRasterPrefix(java.lang.String rasterPrefix)
          The default output raster prefix.
 void setDefaultOutputVectorPrefix(java.lang.String vectorPrefix)
          The default output vector prefix.
 void setExtent(int envType, java.lang.Object extentProvider, java.lang.Object snapRasterData)
          Sets the type and values of extent in the RasterAnalysis.
 void setMaskByRef(IGeoDataset mask)
          Mask allows processing to occur only for a selected set of cells.
 void setOutSpatialReferenceByRef(ISpatialReference spatialReference)
          The output spatial reference of GeoAnalysis.
 void setOutWorkspaceByRef(IWorkspace workspace)
          The output workspace of GeoAnalysis.
 void setVerifyType(int verifyType)
          The verify type of the RasterAnalysis.
 IGeoDataset sink(IGeoDataset directionRaster)
          Creates a raster identifying all sinks, or areas of internal drainage.
 IGeoDataset snapPourPoint(IGeoDataset sourceDataset, IGeoDataset accumulationRaster, double snapDistance)
          Snaps selected pour points to the cell of highest flow accumulation within a specified distance.
 IGeoDataset streamLink(IGeoDataset streamRaster, IGeoDataset directionRaster)
          Assigns unique values to sections of a raster linear network between intersections.
 IGeoDataset streamOrder(IGeoDataset streamRaster, IGeoDataset directionRaster, int orderType)
          Assigns a numeric order to segments of a raster representing branches of a linear network.
 IGeoDataset streamToFeature(IGeoDataset streamRaster, IGeoDataset directionRaster, boolean performWeeding)
          Converts a raster representing a linear network to features representing the linear network.
 IGeoDataset watershed(IGeoDataset directionRaster, IGeoDataset sourceDataset)
          Determines the contributing area above a set of cells in a raster.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterHydrologyOp

public RasterHydrologyOp()
                  throws java.io.IOException,
                         java.net.UnknownHostException
Constructs a RasterHydrologyOp using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

RasterHydrologyOp

public RasterHydrologyOp(java.lang.Object obj)
                  throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterHydrologyOp theRasterHydrologyOp = (RasterHydrologyOp) obj;

Construct a RasterHydrologyOp using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterHydrologyOp.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterHydrologyOp.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

setCellSize

public void setCellSize(int envType,
                        java.lang.Object cellSizeProvider)
                 throws java.io.IOException,
                        AutomationException
Sets the type and value of cell size in the RasterAnalysis.

Specified by:
setCellSize in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)
cellSizeProvider - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCellSize

public void getCellSize(int[] envType,
                        double[] cellSize)
                 throws java.io.IOException,
                        AutomationException
Gets the type and value of cell size in the RasterAnalysis.

Specified by:
getCellSize in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)
cellSize - The cellSize (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(int envType,
                      java.lang.Object extentProvider,
                      java.lang.Object snapRasterData)
               throws java.io.IOException,
                      AutomationException
Sets the type and values of extent in the RasterAnalysis.

Specified by:
setExtent in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)
extentProvider - A Variant (in, optional, pass null if not required)
snapRasterData - A Variant (in, optional, pass null if not required)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public void getExtent(int[] envType,
                      IEnvelope[] extent)
               throws java.io.IOException,
                      AutomationException
Gets the type and values of extent in the RasterAnalysis.

Specified by:
getExtent in interface IRasterAnalysisEnvironment
Parameters:
envType - A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMaskByRef

public void setMaskByRef(IGeoDataset mask)
                  throws java.io.IOException,
                         AutomationException
Mask allows processing to occur only for a selected set of cells.

Specified by:
setMaskByRef in interface IRasterAnalysisEnvironment
Parameters:
mask - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMask

public IGeoDataset getMask()
                    throws java.io.IOException,
                           AutomationException
Mask allows processing to occur only for a selected set of cells.

Specified by:
getMask in interface IRasterAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setVerifyType

public void setVerifyType(int verifyType)
                   throws java.io.IOException,
                          AutomationException
The verify type of the RasterAnalysis.

Specified by:
setVerifyType in interface IRasterAnalysisEnvironment
Parameters:
verifyType - A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVerifyType

public int getVerifyType()
                  throws java.io.IOException,
                         AutomationException
The verify type of the RasterAnalysis.

Specified by:
getVerifyType in interface IRasterAnalysisEnvironment
Returns:
A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultOutputRasterPrefix

public java.lang.String getDefaultOutputRasterPrefix()
                                              throws java.io.IOException,
                                                     AutomationException
The default output raster prefix.

Specified by:
getDefaultOutputRasterPrefix in interface IRasterAnalysisEnvironment
Returns:
The rasterPrefix
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultOutputRasterPrefix

public void setDefaultOutputRasterPrefix(java.lang.String rasterPrefix)
                                  throws java.io.IOException,
                                         AutomationException
The default output raster prefix.

Specified by:
setDefaultOutputRasterPrefix in interface IRasterAnalysisEnvironment
Parameters:
rasterPrefix - The rasterPrefix (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDefaultOutputVectorPrefix

public java.lang.String getDefaultOutputVectorPrefix()
                                              throws java.io.IOException,
                                                     AutomationException
The default output vector prefix.

Specified by:
getDefaultOutputVectorPrefix in interface IRasterAnalysisEnvironment
Returns:
The vectorPrefix
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setDefaultOutputVectorPrefix

public void setDefaultOutputVectorPrefix(java.lang.String vectorPrefix)
                                  throws java.io.IOException,
                                         AutomationException
The default output vector prefix.

Specified by:
setDefaultOutputVectorPrefix in interface IRasterAnalysisEnvironment
Parameters:
vectorPrefix - The vectorPrefix (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAsNewDefaultEnvironment

public void setAsNewDefaultEnvironment()
                                throws java.io.IOException,
                                       AutomationException
Sets the raster analysis environment of the object as new default environment.

Specified by:
setAsNewDefaultEnvironment in interface IRasterAnalysisEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

restoreToPreviousDefaultEnvironment

public void restoreToPreviousDefaultEnvironment()
                                         throws java.io.IOException,
                                                AutomationException
Restores to the previous default raster analysis environment.

Specified by:
restoreToPreviousDefaultEnvironment in interface IRasterAnalysisEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Remove all previously stored default rasteranalysis environments.

Specified by:
reset in interface IRasterAnalysisEnvironment
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutWorkspaceByRef

public void setOutWorkspaceByRef(IWorkspace workspace)
                          throws java.io.IOException,
                                 AutomationException
The output workspace of GeoAnalysis.

Specified by:
setOutWorkspaceByRef in interface IGeoAnalysisEnvironment
Parameters:
workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutWorkspace

public IWorkspace getOutWorkspace()
                           throws java.io.IOException,
                                  AutomationException
The output workspace of GeoAnalysis.

Specified by:
getOutWorkspace in interface IGeoAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geodatabase.IWorkspace
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setOutSpatialReferenceByRef

public void setOutSpatialReferenceByRef(ISpatialReference spatialReference)
                                 throws java.io.IOException,
                                        AutomationException
The output spatial reference of GeoAnalysis.

Specified by:
setOutSpatialReferenceByRef in interface IGeoAnalysisEnvironment
Parameters:
spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOutSpatialReference

public ISpatialReference getOutSpatialReference()
                                         throws java.io.IOException,
                                                AutomationException
The output spatial reference of GeoAnalysis.

Specified by:
getOutSpatialReference in interface IGeoAnalysisEnvironment
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

basin

public IGeoDataset basin(IGeoDataset directionRaster)
                  throws java.io.IOException,
                         AutomationException
Creates a raster delineating all drainage basins.

Specified by:
basin in interface IHydrologyOp
Specified by:
basin in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

fill

public IGeoDataset fill(IGeoDataset surfaceRaster,
                        java.lang.Object zLimit)
                 throws java.io.IOException,
                        AutomationException
Fills sinks in a surface to remove small imperfections in the data.

Specified by:
fill in interface IHydrologyOp
Specified by:
fill in interface IHydrologyOp2
Parameters:
surfaceRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
zLimit - A Variant (in, optional, pass null if not required)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flowAccumulation

public IGeoDataset flowAccumulation(IGeoDataset directionRaster,
                                    java.lang.Object weightRaster)
                             throws java.io.IOException,
                                    AutomationException
Creates a raster of accumulated flow to each cell.

Specified by:
flowAccumulation in interface IHydrologyOp
Specified by:
flowAccumulation in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
weightRaster - A Variant (in, optional, pass null if not required)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flowDirection

public IGeoDataset flowDirection(IGeoDataset surfaceRaster,
                                 boolean createDrop,
                                 boolean forceFlowAtEdge)
                          throws java.io.IOException,
                                 AutomationException
Creates a raster of flow direction from each cell to it's steepest downslope neighbor.

Specified by:
flowDirection in interface IHydrologyOp
Specified by:
flowDirection in interface IHydrologyOp2
Parameters:
surfaceRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
createDrop - The createDrop (in)
forceFlowAtEdge - The forceFlowAtEdge (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flowLength

public IGeoDataset flowLength(IGeoDataset directionRaster,
                              boolean downStream,
                              java.lang.Object weightRaster)
                       throws java.io.IOException,
                              AutomationException
Calculates distance, or weighted distance along a flow path.

Specified by:
flowLength in interface IHydrologyOp
Specified by:
flowLength in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
downStream - The downStream (in)
weightRaster - A Variant (in, optional, pass null if not required)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sink

public IGeoDataset sink(IGeoDataset directionRaster)
                 throws java.io.IOException,
                        AutomationException
Creates a raster identifying all sinks, or areas of internal drainage.

Specified by:
sink in interface IHydrologyOp
Specified by:
sink in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snapPourPoint

public IGeoDataset snapPourPoint(IGeoDataset sourceDataset,
                                 IGeoDataset accumulationRaster,
                                 double snapDistance)
                          throws java.io.IOException,
                                 AutomationException
Snaps selected pour points to the cell of highest flow accumulation within a specified distance.

Specified by:
snapPourPoint in interface IHydrologyOp
Specified by:
snapPourPoint in interface IHydrologyOp2
Parameters:
sourceDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
accumulationRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
snapDistance - The snapDistance (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

streamLink

public IGeoDataset streamLink(IGeoDataset streamRaster,
                              IGeoDataset directionRaster)
                       throws java.io.IOException,
                              AutomationException
Assigns unique values to sections of a raster linear network between intersections.

Specified by:
streamLink in interface IHydrologyOp
Specified by:
streamLink in interface IHydrologyOp2
Parameters:
streamRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

streamOrder

public IGeoDataset streamOrder(IGeoDataset streamRaster,
                               IGeoDataset directionRaster,
                               int orderType)
                        throws java.io.IOException,
                               AutomationException
Assigns a numeric order to segments of a raster representing branches of a linear network.

Specified by:
streamOrder in interface IHydrologyOp
Specified by:
streamOrder in interface IHydrologyOp2
Parameters:
streamRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
orderType - A com.esri.arcgis.spatialanalyst.esriGeoAnalysisStreamOrderEnum constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

streamToFeature

public IGeoDataset streamToFeature(IGeoDataset streamRaster,
                                   IGeoDataset directionRaster,
                                   boolean performWeeding)
                            throws java.io.IOException,
                                   AutomationException
Converts a raster representing a linear network to features representing the linear network.

Specified by:
streamToFeature in interface IHydrologyOp
Specified by:
streamToFeature in interface IHydrologyOp2
Parameters:
streamRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
performWeeding - The performWeeding (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

watershed

public IGeoDataset watershed(IGeoDataset directionRaster,
                             IGeoDataset sourceDataset)
                      throws java.io.IOException,
                             AutomationException
Determines the contributing area above a set of cells in a raster.

Specified by:
watershed in interface IHydrologyOp
Specified by:
watershed in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
sourceDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flowAccumulationInt

public IGeoDataset flowAccumulationInt(IGeoDataset directionRaster,
                                       java.lang.Object weightRaster)
                                throws java.io.IOException,
                                       AutomationException
Creates an integer raster of accumulated flow to each cell.

Specified by:
flowAccumulationInt in interface IHydrologyOp2
Parameters:
directionRaster - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
weightRaster - A Variant (in, optional, pass null if not required)
Returns:
A reference to a com.esri.arcgis.geodatabase.IGeoDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.