|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.analyst3d.RasterSurface
public class RasterSurface
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 =
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 |
---|
public RasterSurface() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic RasterSurface(java.lang.Object obj) throws java.io.IOException
RasterSurface theRasterSurface = (RasterSurface) obj;
obj
to RasterSurface
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setRasterBand(IRasterBand rasterBand) throws java.io.IOException, AutomationException
setRasterBand
in interface IRasterSurface
rasterBand
- A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterBand getRasterBand() throws java.io.IOException, AutomationException
getRasterBand
in interface IRasterSurface
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void putRaster(IRaster raster, int bandIndex) throws java.io.IOException, AutomationException
putRaster
in interface IRasterSurface
raster
- A reference to a com.esri.arcgis.geodatabase.IRaster (in)bandIndex
- The bandIndex (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRaster getRaster() throws java.io.IOException, AutomationException
getRaster
in interface IRasterSurface
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSampleDistance(double pSampleDistance) throws java.io.IOException, AutomationException
setSampleDistance
in interface IRasterSurface
pSampleDistance
- The pSampleDistance (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSampleDistance() throws java.io.IOException, AutomationException
getSampleDistance
in interface IRasterSurface
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getZ(double x, double y) throws java.io.IOException, AutomationException
getZ
in interface IFunctionalSurface
x
- The x (in)y
- The y (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPolygon getDomain() throws java.io.IOException, AutomationException
getDomain
in interface IFunctionalSurface
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDomain(IPolygon rhs1) throws java.io.IOException, AutomationException
setDomain
in interface IFunctionalSurface2
rhs1
- A reference to a com.esri.arcgis.geometry.IPolygon (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getZFactor() throws java.io.IOException, AutomationException
getZFactor
in interface ISurface
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setZFactor(double pFactor) throws java.io.IOException, AutomationException
setZFactor
in interface ISurface
pFactor
- The pFactor (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getProjectedArea(double referenceHeight, int type) throws java.io.IOException, AutomationException
getProjectedArea
in interface ISurface
referenceHeight
- The referenceHeight (in)type
- A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSurfaceArea(double referenceHeight, int type) throws java.io.IOException, AutomationException
getSurfaceArea
in interface ISurface
referenceHeight
- The referenceHeight (in)type
- A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getVolume(double reference, int type) throws java.io.IOException, AutomationException
getVolume
in interface ISurface
reference
- The reference (in)type
- A com.esri.arcgis.geodatabase.esriPlaneReferenceType constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryNormal(IPoint pLocation, IVector3D pNormal) throws java.io.IOException, AutomationException
queryNormal
in interface ISurface
pLocation
- A reference to a com.esri.arcgis.geometry.IPoint (in)pNormal
- A reference to a com.esri.arcgis.geometry.IVector3D (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getElevation(IPoint pPoint) throws java.io.IOException, AutomationException
getElevation
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSlopeDegrees(IPoint pPoint) throws java.io.IOException, AutomationException
getSlopeDegrees
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSlopeRadians(IPoint pPoint) throws java.io.IOException, AutomationException
getSlopeRadians
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getSlopePercent(IPoint pPoint) throws java.io.IOException, AutomationException
getSlopePercent
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAspectDegrees(IPoint pPoint) throws java.io.IOException, AutomationException
getAspectDegrees
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAspectRadians(IPoint pPoint) throws java.io.IOException, AutomationException
getAspectRadians
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isVoidZ(double value) throws java.io.IOException, AutomationException
isVoidZ
in interface ISurface
value
- The value (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interpolateShape(IGeometry pShape, IGeometry[] ppOutShape, java.lang.Object pStepSize) throws java.io.IOException, AutomationException
interpolateShape
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interpolateShapeVertices(IGeometry pShape, IGeometry[] ppOutShape) throws java.io.IOException, AutomationException
interpolateShapeVertices
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getProfile(IGeometry pShape, IGeometry[] ppProfile, java.lang.Object pStepSize) throws java.io.IOException, AutomationException
getProfile
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
getLineOfSight
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void querySurfaceLength(IGeometry pShape, double[] pLength, java.lang.Object pStepSize) throws java.io.IOException, AutomationException
querySurfaceLength
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPoint locate(IRay pRay, int hint) throws java.io.IOException, AutomationException
locate
in interface ISurface
pRay
- A reference to a com.esri.arcgis.geometry.IRay (in)hint
- The hint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IDoubleArray locateAll(IRay pRay, int hint) throws java.io.IOException, AutomationException
locateAll
in interface ISurface
pRay
- A reference to a com.esri.arcgis.geometry.IRay (in)hint
- The hint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getContour(IPoint pPoint, IPolyline[] ppContour, double[] pElevation) throws java.io.IOException, AutomationException
getContour
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contourList(IDoubleArray pBreaks, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint) throws java.io.IOException, AutomationException
contourList
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contour(double referenceContourHeight, double interval, IFeatureClass pFeatureClass, java.lang.String fieldName, int digitsAfterDecimalPoint) throws java.io.IOException, AutomationException
contour
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void asPolygons(IFeatureClass pFeatureClass, int type, IDoubleArray pClassBreaks, ILongArray pClassCodes, java.lang.Object fieldName) throws java.io.IOException, AutomationException
asPolygons
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IPolyline getSteepestPath(IPoint pPoint) throws java.io.IOException, AutomationException
getSteepestPath
in interface ISurface
pPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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
queryPixelBlock
in interface ISurface
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |