com.esri.arcgis.analyst3d
Class RasterSurface

java.lang.Object
  extended by com.esri.arcgis.analyst3d.RasterSurface
All Implemented Interfaces:
IRasterSurface, ISurface, IFunctionalSurface, IFunctionalSurface2, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterSurface
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterSurface, IFunctionalSurface, IFunctionalSurface2, ISurface

COM Class 'RasterSurface'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esri3DAnalyst.olb'

Description 'The Esri raster surface component.' 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.analyst3d.IRasterSurface
IID, IID3455fdb6_ee56_455e_a44e_28a0c76d3196, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IFunctionalSurface2
IID, IIDe91ae5c7_2c16_11d4_80e2_00c04fa0adf8, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ISurface
IID, IID73b80fbc_ff33_11d1_a549_0000f8774f0f, xxDummy
 
Fields inherited from interface com.esri.arcgis.geometry.IFunctionalSurface
IID98d17b10_951c_11d2_bcfc_0000f875bcce
 
Constructor Summary
RasterSurface()
          Constructs a RasterSurface using ArcGIS Engine.
RasterSurface(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
RasterSurface theRasterSurface = (RasterSurface) obj;
 
Method Summary
 void asPolygons(IFeatureClass pFeatureClass, int type, IDoubleArray pClassBreaks, ILongArray pClassCodes, java.lang.Object fieldName)
          Converts the surface to a polygon feature class representing slope or aspect.
 void contour(double referenceContourHeight, double interval, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint)
          Output contours based on the specified root value and interval.
 void contourList(IDoubleArray pBreaks, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint)
          Output a list of contours corresponding to the specified eleveation values.
 boolean equals(java.lang.Object o)
          Compare this object with another
 double getAspectDegrees(IPoint pPoint)
          Returns the aspect at the specified location in degrees.
 double getAspectRadians(IPoint pPoint)
          Returns the aspect at the specified location in radians.
static java.lang.String getClsid()
          getClsid.
 void getContour(IPoint pPoint, IPolyline[] ppContour, double[] pElevation)
          Returns a countour passing through the queried point.
 IPolygon getDomain()
          The interpolation domain of the surface.
 double getElevation(IPoint pPoint)
          Returns the z value of the specified location.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 void getLineOfSight(IPoint pObserver, IPoint pTarget, IPoint[] ppObstruction, IPolyline[] ppVisibleLines, IPolyline[] ppInvisibleLines, boolean[] pbIsVisible, boolean bApplyCurvature, boolean bApplyRefraction, java.lang.Object pRefractionFactor)
          Computes the visibility of a line-of-sight from the observer to the target.
 void getProfile(IGeometry pShape, IGeometry[] ppProfile, java.lang.Object pStepSize)
          Returns a polyline with z values interpolated from the surface.
 double getProjectedArea(double referenceHeight, int type)
          Returns the projected area of the surface above or below an input z value.
 IRaster getRaster()
          A raster.
 IRasterBand getRasterBand()
          The raster band of a raster surface.
 double getSampleDistance()
          The sample distance for interpolated shapes and profiles.
 double getSlopeDegrees(IPoint pPoint)
          Returns the slope at the specified location in degrees.
 double getSlopePercent(IPoint pPoint)
          Returns the slope at the specified location in percent.
 double getSlopeRadians(IPoint pPoint)
          Returns the slope at the specified location in radians.
 IPolyline getSteepestPath(IPoint pPoint)
          Returns the steepest path downhill from the specified point.
 double getSurfaceArea(double referenceHeight, int type)
          Returns the area measured on its surface above or below an input z value.
 double getVolume(double reference, int type)
          Returns the volume above or below an input z value.
 double getZ(double x, double y)
          The surface Z = f(x,y).
 double getZFactor()
          Multiplication factor applied to all z values to provide unit-congruency between coordinate components.
 int hashCode()
          the hashcode for this object
 void interpolateShape(IGeometry pShape, IGeometry[] ppOutShape, java.lang.Object pStepSize)
          Interpolates z values for a defined geometric shape.
 void interpolateShapeVertices(IGeometry pShape, IGeometry[] ppOutShape)
          Interpolates z values for a defined geometric shape at its vertices only.
 boolean isVoidZ(double value)
          Returns TRUE if the passed value is equal to the surface's void value.
 IPoint locate(IRay pRay, int hint)
          Returns the intersection of the query ray and the surface.
 IDoubleArray locateAll(IRay pRay, int hint)
          Returns the distances of intersections of the query ray and the surface.
 void putRaster(IRaster raster, int bandIndex)
          Sets a raster with a specified band index.
 void queryNormal(IPoint pLocation, IVector3D pNormal)
          Returns the vector normal to the specified triangle.
 void queryPixelBlock(double xOrigin, double yOrigin, double xPixelSize, double yPixelSize, int type, java.lang.Object valueForNoData, java.lang.Object block)
          Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.
 void querySurfaceLength(IGeometry pShape, double[] pLength, java.lang.Object pStepSize)
          Returns the length of an input polyline measured on the surface.
 void release()
          Release a RasterSurface.
 void setDomain(IPolygon rhs1)
          The interpolation domain of the surface.
 void setRasterBand(IRasterBand rasterBand)
          The raster band of a raster surface.
 void setSampleDistance(double pSampleDistance)
          The sample distance for interpolated shapes and profiles.
 void setZFactor(double pFactor)
          Multiplication factor applied to all z values to provide unit-congruency between coordinate components.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterSurface

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

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

RasterSurface

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

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

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 RasterSurface.

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

setRasterBand

public void setRasterBand(IRasterBand rasterBand)
                   throws java.io.IOException,
                          AutomationException
The raster band of a raster surface.

Specified by:
setRasterBand in interface IRasterSurface
Parameters:
rasterBand - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterBand

public IRasterBand getRasterBand()
                          throws java.io.IOException,
                                 AutomationException
The raster band of a raster surface.

Specified by:
getRasterBand in interface IRasterSurface
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterBand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

putRaster

public void putRaster(IRaster raster,
                      int bandIndex)
               throws java.io.IOException,
                      AutomationException
Sets a raster with a specified band index.

Specified by:
putRaster in interface IRasterSurface
Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
bandIndex - The bandIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRaster

public IRaster getRaster()
                  throws java.io.IOException,
                         AutomationException
A raster.

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

setSampleDistance

public void setSampleDistance(double pSampleDistance)
                       throws java.io.IOException,
                              AutomationException
The sample distance for interpolated shapes and profiles.

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

getSampleDistance

public double getSampleDistance()
                         throws java.io.IOException,
                                AutomationException
The sample distance for interpolated shapes and profiles.

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

getZ

public double getZ(double x,
                   double y)
            throws java.io.IOException,
                   AutomationException
The surface Z = f(x,y).

Specified by:
getZ in interface IFunctionalSurface
Parameters:
x - The x (in)
y - The y (in)
Returns:
The z
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getDomain

public IPolygon getDomain()
                   throws java.io.IOException,
                          AutomationException
The interpolation domain of the surface.

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

setDomain

public void setDomain(IPolygon rhs1)
               throws java.io.IOException,
                      AutomationException
The interpolation domain of the surface.

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

getZFactor

public double getZFactor()
                  throws java.io.IOException,
                         AutomationException
Multiplication factor applied to all z values to provide unit-congruency between coordinate components.

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

setZFactor

public void setZFactor(double pFactor)
                throws java.io.IOException,
                       AutomationException
Multiplication factor applied to all z values to provide unit-congruency between coordinate components.

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

getProjectedArea

public double getProjectedArea(double referenceHeight,
                               int type)
                        throws java.io.IOException,
                               AutomationException
Returns the projected area of the surface above or below an input z value.

Specified by:
getProjectedArea in interface ISurface
Parameters:
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pArea
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSurfaceArea

public double getSurfaceArea(double referenceHeight,
                             int type)
                      throws java.io.IOException,
                             AutomationException
Returns the area measured on its surface above or below an input z value.

Specified by:
getSurfaceArea in interface ISurface
Parameters:
referenceHeight - The referenceHeight (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pArea
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVolume

public double getVolume(double reference,
                        int type)
                 throws java.io.IOException,
                        AutomationException
Returns the volume above or below an input z value.

Specified by:
getVolume in interface ISurface
Parameters:
reference - The reference (in)
type - A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
Returns:
The pVolume
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryNormal

public void queryNormal(IPoint pLocation,
                        IVector3D pNormal)
                 throws java.io.IOException,
                        AutomationException
Returns the vector normal to the specified triangle.

Specified by:
queryNormal in interface ISurface
Parameters:
pLocation - A reference to a com.esri.arcgis.geometry.IPoint (in)
pNormal - A reference to a com.esri.arcgis.geometry.IVector3D (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElevation

public double getElevation(IPoint pPoint)
                    throws java.io.IOException,
                           AutomationException
Returns the z value of the specified location.

Specified by:
getElevation in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pElevation
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopeDegrees

public double getSlopeDegrees(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in degrees.

Specified by:
getSlopeDegrees in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopeRadians

public double getSlopeRadians(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in radians.

Specified by:
getSlopeRadians in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSlopePercent

public double getSlopePercent(IPoint pPoint)
                       throws java.io.IOException,
                              AutomationException
Returns the slope at the specified location in percent.

Specified by:
getSlopePercent in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pSlope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectDegrees

public double getAspectDegrees(IPoint pPoint)
                        throws java.io.IOException,
                               AutomationException
Returns the aspect at the specified location in degrees.

Specified by:
getAspectDegrees in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pAspect
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectRadians

public double getAspectRadians(IPoint pPoint)
                        throws java.io.IOException,
                               AutomationException
Returns the aspect at the specified location in radians.

Specified by:
getAspectRadians in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
The pAspect
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isVoidZ

public boolean isVoidZ(double value)
                throws java.io.IOException,
                       AutomationException
Returns TRUE if the passed value is equal to the surface's void value.

Specified by:
isVoidZ in interface ISurface
Parameters:
value - The value (in)
Returns:
The pbIsVoid
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interpolateShape

public void interpolateShape(IGeometry pShape,
                             IGeometry[] ppOutShape,
                             java.lang.Object pStepSize)
                      throws java.io.IOException,
                             AutomationException
Interpolates z values for a defined geometric shape.

Specified by:
interpolateShape in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppOutShape - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pStepSize - 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.

interpolateShapeVertices

public void interpolateShapeVertices(IGeometry pShape,
                                     IGeometry[] ppOutShape)
                              throws java.io.IOException,
                                     AutomationException
Interpolates z values for a defined geometric shape at its vertices only.

Specified by:
interpolateShapeVertices in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppOutShape - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getProfile

public void getProfile(IGeometry pShape,
                       IGeometry[] ppProfile,
                       java.lang.Object pStepSize)
                throws java.io.IOException,
                       AutomationException
Returns a polyline with z values interpolated from the surface.

Specified by:
getProfile in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
ppProfile - A reference to a com.esri.arcgis.geometry.IGeometry (out: use single element array)
pStepSize - 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.

getLineOfSight

public void getLineOfSight(IPoint pObserver,
                           IPoint pTarget,
                           IPoint[] ppObstruction,
                           IPolyline[] ppVisibleLines,
                           IPolyline[] ppInvisibleLines,
                           boolean[] pbIsVisible,
                           boolean bApplyCurvature,
                           boolean bApplyRefraction,
                           java.lang.Object pRefractionFactor)
                    throws java.io.IOException,
                           AutomationException
Computes the visibility of a line-of-sight from the observer to the target.

Specified by:
getLineOfSight in interface ISurface
Parameters:
pObserver - A reference to a com.esri.arcgis.geometry.IPoint (in)
pTarget - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppObstruction - A reference to a com.esri.arcgis.geometry.IPoint (out: use single element array)
ppVisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
ppInvisibleLines - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
pbIsVisible - The pbIsVisible (out: use single element array)
bApplyCurvature - The bApplyCurvature (in)
bApplyRefraction - The bApplyRefraction (in)
pRefractionFactor - 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.

querySurfaceLength

public void querySurfaceLength(IGeometry pShape,
                               double[] pLength,
                               java.lang.Object pStepSize)
                        throws java.io.IOException,
                               AutomationException
Returns the length of an input polyline measured on the surface.

Specified by:
querySurfaceLength in interface ISurface
Parameters:
pShape - A reference to a com.esri.arcgis.geometry.IGeometry (in)
pLength - The pLength (out: use single element array)
pStepSize - 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.

locate

public IPoint locate(IRay pRay,
                     int hint)
              throws java.io.IOException,
                     AutomationException
Returns the intersection of the query ray and the surface.

Specified by:
locate in interface ISurface
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
hint - The hint (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPoint
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

locateAll

public IDoubleArray locateAll(IRay pRay,
                              int hint)
                       throws java.io.IOException,
                              AutomationException
Returns the distances of intersections of the query ray and the surface.

Specified by:
locateAll in interface ISurface
Parameters:
pRay - A reference to a com.esri.arcgis.geometry.IRay (in)
hint - The hint (in)
Returns:
A reference to a com.esri.arcgis.system.IDoubleArray
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContour

public void getContour(IPoint pPoint,
                       IPolyline[] ppContour,
                       double[] pElevation)
                throws java.io.IOException,
                       AutomationException
Returns a countour passing through the queried point.

Specified by:
getContour in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
ppContour - A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)
pElevation - The pElevation (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contourList

public void contourList(IDoubleArray pBreaks,
                        IFeatureClass pFeatureClass,
                        java.lang.String fieldName,
                        int digitsAfterDecimalPoint)
                 throws java.io.IOException,
                        AutomationException
Output a list of contours corresponding to the specified eleveation values.

Specified by:
contourList in interface ISurface
Parameters:
pBreaks - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fieldName - The fieldName (in)
digitsAfterDecimalPoint - The digitsAfterDecimalPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

contour

public void contour(double referenceContourHeight,
                    double interval,
                    IFeatureClass pFeatureClass,
                    java.lang.String fieldName,
                    int digitsAfterDecimalPoint)
             throws java.io.IOException,
                    AutomationException
Output contours based on the specified root value and interval.

Specified by:
contour in interface ISurface
Parameters:
referenceContourHeight - The referenceContourHeight (in)
interval - The interval (in)
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
fieldName - The fieldName (in)
digitsAfterDecimalPoint - The digitsAfterDecimalPoint (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

asPolygons

public void asPolygons(IFeatureClass pFeatureClass,
                       int type,
                       IDoubleArray pClassBreaks,
                       ILongArray pClassCodes,
                       java.lang.Object fieldName)
                throws java.io.IOException,
                       AutomationException
Converts the surface to a polygon feature class representing slope or aspect.

Specified by:
asPolygons in interface ISurface
Parameters:
pFeatureClass - A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
type - A com.esri.arcgis.geodatabase.esriSurfaceConversionType constant (in)
pClassBreaks - A reference to a com.esri.arcgis.system.IDoubleArray (in)
pClassCodes - A reference to a com.esri.arcgis.system.ILongArray (in)
fieldName - 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.

getSteepestPath

public IPolyline getSteepestPath(IPoint pPoint)
                          throws java.io.IOException,
                                 AutomationException
Returns the steepest path downhill from the specified point.

Specified by:
getSteepestPath in interface ISurface
Parameters:
pPoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
Returns:
A reference to a com.esri.arcgis.geometry.IPolyline
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryPixelBlock

public void queryPixelBlock(double xOrigin,
                            double yOrigin,
                            double xPixelSize,
                            double yPixelSize,
                            int type,
                            java.lang.Object valueForNoData,
                            java.lang.Object block)
                     throws java.io.IOException,
                            AutomationException
Derives slope, aspect, hillshade, or elevation from the input surface and writes the result to the provided PixelBlock.

Specified by:
queryPixelBlock in interface ISurface
Parameters:
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
xPixelSize - The xPixelSize (in)
yPixelSize - The yPixelSize (in)
type - A com.esri.arcgis.geodatabase.esriRasterizationType constant (in)
valueForNoData - A Variant (in)
block - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.