|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoanalyst.RasterSurfaceOp
public class RasterSurfaceOp
Raster surface operation class.
Constructor Summary | |
---|---|
RasterSurfaceOp()
Constructs a RasterSurfaceOp using ArcGIS Engine. |
|
RasterSurfaceOp(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterSurfaceOp theRasterSurfaceOp = (RasterSurfaceOp) obj; |
Method Summary | |
---|---|
void |
addOutputDatasetName(int index,
IDatasetName pOutName)
Adds an output dataset name to the specified index. |
IGeoDataset |
aspect(IGeoDataset geoDataset)
Calculates Aspect. |
IGeoDataset |
contour(IGeoDataset geoDataset,
double interval,
Object base)
Creates contours or isolines based off of a constant interval from a base contour. |
IGeoDataset |
contour(IGeoDataset geoDataset,
double interval,
Object base,
Object zFactor)
Creates contours or isolines based off of a constant interval from a base contour. |
void |
contourAsPolyline(IGeoDataset geoDataset,
IPoint inputPoint,
IPolyline[] contourLine,
double[] elevation)
Creates a single contour or isoline that passes through a specified point on a surface. |
IGeoDataset |
contourList(IGeoDataset geoDataset,
Object contoursArray)
Creates contours or isolines based off a list of contour values. |
void |
contoursAsPolylines(IGeoDataset geoDataset,
IPointCollection inputPoints,
IGeometryCollection[] contourLines,
IPointCollection[] outputPointsWithElevations)
Creates multiple contours or isolines that pass through specified points on a surface. |
IGeoDataset |
curvature(IGeoDataset geoDataset,
boolean profile,
boolean plan)
Calculates curvature, optionally including profile and plan curvature. |
IGeoDataset |
curvature(IGeoDataset geoDataset,
boolean profile,
boolean plan,
Object zFactor)
Calculates curvature, optionally including profile and plan curvature. |
IGeoDataset |
cutFill(IGeoDataset beforeGeoDataset,
IGeoDataset afterGeoDataset,
Object zFactor)
Calculates cut and fill areas. |
boolean |
equals(Object o)
Compare this object with another |
void |
getCellSize(int[] envType,
double[] cellSize)
Gets the type and value of cell size in the RasterAnalysis. |
static String |
getClsid()
getClsid. |
String |
getDefaultOutputRasterPrefix()
The default output raster prefix. |
String |
getDefaultOutputVectorPrefix()
The default output vector prefix. |
void |
getExtent(int[] envType,
IEnvelope[] extent)
Gets the type and values of extent in the RasterAnalysis. |
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 |
IGeoDataset |
hillShade(IGeoDataset geoDataset,
double azimuth,
double altitude,
boolean inModelShadows,
Object zFactor)
Calculates Hillshade. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAvoidDataConversion()
Indicates weather to avoid data conversion in the RasterAnalysis. |
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 |
setAvoidDataConversion(boolean bAvoid)
Indicates weather to avoid data conversion in the RasterAnalysis. |
void |
setCellSize(int envType,
Object cellSizeProvider)
Sets the type and value of cell size in the RasterAnalysis. |
void |
setDefaultOutputRasterPrefix(String rasterPrefix)
The default output raster prefix. |
void |
setDefaultOutputVectorPrefix(String vectorPrefix)
The default output vector prefix. |
void |
setExtent(int envType,
Object extentProvider,
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 |
setOutputDatasetNameArrayByRef(IArray rhs1)
Puts output name array. |
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 |
slope(IGeoDataset geoDataset,
int slopeType,
Object zFactor)
Calculates Slope. |
IGeoDataset |
visibility(IGeoDataset geoDataset,
IGeoDataset observers,
int visType)
Performs visibility analysis on a surface based on a set of input observation points. |
IGeoDataset |
visibility(IGeoDataset geoDataset,
IGeoDataset observers,
int visType,
Object pZFactor,
Object pRefractivityCoefficient)
Performs visibility analysis on a surface based on a set of input observation points. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterSurfaceOp() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterSurfaceOp(Object obj) throws IOException
RasterSurfaceOp theRasterSurfaceOp = (RasterSurfaceOp) obj;
obj
to RasterSurfaceOp
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void setCellSize(int envType, Object cellSizeProvider) throws IOException, AutomationException
envType |
An enumeration type specifying the raster cellsize environment settings for analysis. All subsequent results will be to the value specified. It can be of type esriRasterEnvMaxOf – The largest cell size of all input raster datasets that are specifed in the function. This is the default. This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead. esriRasterEnvMinOf - Smallest cell size of all input raster datasets. This option is not suitable for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only inputs. Use esriRasterEnvValue instead esriRasterEnvValue - Any user specified value for the cell size. Use this option to specify a particular value for a cell size or for methods such as IInterpolationOp::IDW, IDensityOp:KernalDensity etc. where features are the only input. |
[cellSizeProvider] |
A specified value (double) or RasterDataset that is used to provide the cellsize environment value. |
setCellSize
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (in)cellSizeProvider
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getCellSize(int[] envType, double[] cellSize) throws IOException, AutomationException
envType |
will return an enumeration type constant specifying the raster cellsize environment settings for analysis. It can be of type esriRasterEnvMaxOf - largest cell size of all input datasets. This is the default. esriRasterEnvMinOf - smallest cell size of all input datasets esriRasterEnvValue - User specified value. |
cellsize |
returns a value that specifying the current environment setting for cellsize |
getCellSize
in interface IRasterAnalysisEnvironment
envType
- A com.esri.arcgis.geoanalyst.esriRasterEnvSettingEnum constant (out: use single element array)cellSize
- The cellSize (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setExtent(int envType, Object extentProvider, Object snapRasterData) throws IOException, AutomationException
envType |
An enumeration type specifying the raster extent environment settings for analysis. All subsequent results will be to this extent. It can be of type esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default. esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used. esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area. |
[extentProvider] |
An envelope object supporting IEnvelope interface or RasterDataset that is used to provide the environment values of the analysis extent. |
[snapRasterData] |
A RasterDataset that can be used to snap all output raster datasets to the cell registration of the specified raster. All subsequent results will share the lower-left corner and cell size of the specified raster. |
setExtent
in interface IRasterAnalysisEnvironment
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getExtent(int[] envType, IEnvelope[] extent) throws IOException, AutomationException
envType |
will return an enumeration constant specifying the raster extent environment settings for analysis. It can be of type, esriRasterEnvMinOf – Intersection of Inputs - All input feature extents are intersected and the extent common to all is used as the extent values for the study area. This is the default. esriRasterEnvMaxOf - Union of Inputs - All input feature extents are combined and the outer extent of the union is used. esriRasterEnvValue - Value - User specified values for the Left, Right, Top and Bottom extent (x, y values) of the study area. |
extent |
An envelope object supporting IEnvelope interface used to describe the values of the analysis extent. |
getExtent
in interface IRasterAnalysisEnvironment
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)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setMaskByRef(IGeoDataset mask) throws IOException, AutomationException
setMaskByRef
in interface IRasterAnalysisEnvironment
mask
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset getMask() throws IOException, AutomationException
The mask can be a reference to a Raster, RasterDataset, RasterBand, or RasterDescriptor object or FeatureClass, FeatureClassDescriptor object.
The mask identifies only those cells within the analysis extent that will be considered when performing an action. Only the identified cells will be processed in subsequent output raster datasets. All other cells are characterized as nodata.
getMask
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setVerifyType(int verifyType) throws IOException, AutomationException
setVerifyType
in interface IRasterAnalysisEnvironment
verifyType
- A com.esri.arcgis.geoanalyst.esriRasterVerifyEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getVerifyType() throws IOException, AutomationException
The value is an enumeration environment setting that contols the way that an output RasterDatasets are written to file when during analysis. The verify enumeration can be of type
esriRasterEnvVerifyOn - specifies that the user will be prompted to verify the output already exists and it is okay to overwrite it
esriRasterEnvVerifyOff - specifies that output data will be automatically overwritten if already exists. This is the default environment setting.
esriRasterEnvVerifyError - specifies that an error will be produced when the output already exists.
getVerifyType
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultOutputRasterPrefix() throws IOException, AutomationException
The user specified prefix which is included to all temporary output RasterDatasets during analysis.
getDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputRasterPrefix(String rasterPrefix) throws IOException, AutomationException
setDefaultOutputRasterPrefix
in interface IRasterAnalysisEnvironment
rasterPrefix
- The rasterPrefix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getDefaultOutputVectorPrefix() throws IOException, AutomationException
The user specified prefix which is included to all temporary output Shapefiles during analysis.
getDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDefaultOutputVectorPrefix(String vectorPrefix) throws IOException, AutomationException
setDefaultOutputVectorPrefix
in interface IRasterAnalysisEnvironment
vectorPrefix
- The vectorPrefix (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAsNewDefaultEnvironment() throws IOException, AutomationException
Will set all current environment settings of the RasterAnalysis object as the new default environment. All subsequent analysis will use the set object properties unless otherwise specified.
setAsNewDefaultEnvironment
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void restoreToPreviousDefaultEnvironment() throws IOException, AutomationException
This will restore the default environment to the settings of the "previous" RasterAnalysisEnvironment object used to set the default environement. Note: If multiple default environments have been set it will reference the past settings one at a time in order of sequence.
restoreToPreviousDefaultEnvironment
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void reset() throws IOException, AutomationException
This method can be used to restore the system default raster environment settings for extent, cell size, precision, spatial reference and/or current workspace for analysis. This will change all previously altered environment settings made to the RasterAnlaysis object back to the original settings.
reset
in interface IRasterAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutWorkspaceByRef(IWorkspace workspace) throws IOException, AutomationException
setOutWorkspaceByRef
in interface IGeoAnalysisEnvironment
workspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IWorkspace getOutWorkspace() throws IOException, AutomationException
The variable is an object specifying the directory or subdirectory to contain the output rasterdataset
getOutWorkspace
in interface IGeoAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutSpatialReferenceByRef(ISpatialReference spatialReference) throws IOException, AutomationException
setOutSpatialReferenceByRef
in interface IGeoAnalysisEnvironment
spatialReference
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getOutSpatialReference() throws IOException, AutomationException
The variable references an object that specifies the output features spatial reference. If not explicitly set the spatial reference of the input features will be used.
getOutSpatialReference
in interface IGeoAnalysisEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAvoidDataConversion(boolean bAvoid) throws IOException, AutomationException
Setting to false (the default setting) is the same as in versions before ArcGIS 9.4.
Setting the property to True ensures that all processing is performed natively on the raster data. This improves the overall performance as there is no need for the input data to be converted to ESRI grid format. The output data, however, is still temporary rasters in ESRI grid format.
setAvoidDataConversion
in interface IRasterAnalysisGlobalEnvironment
bAvoid
- The bAvoid (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isAvoidDataConversion() throws IOException, AutomationException
isAvoidDataConversion
in interface IRasterAnalysisGlobalEnvironment
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addOutputDatasetName(int index, IDatasetName pOutName) throws IOException, AutomationException
addOutputDatasetName
in interface IRasterOpBase
index
- The index (in)pOutName
- A reference to a com.esri.arcgis.geodatabase.IDatasetName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setOutputDatasetNameArrayByRef(IArray rhs1) throws IOException, AutomationException
setOutputDatasetNameArrayByRef
in interface IRasterOpBase
rhs1
- A reference to a com.esri.arcgis.system.IArray (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset hillShade(IGeoDataset geoDataset, double azimuth, double altitude, boolean inModelShadows, Object zFactor) throws IOException, AutomationException
geoDataset |
the input Raster, RasterDataset, RasterBand, or RasterDescriptor from which the shaded relief is derived |
azimuth |
the azimuth angle of the light source. The azimuth is expressed in positive degrees from 0 to 360, measured clockwise from the north. A commonly used azimuth is 315 degrees |
altitude |
the slope or angle of the illumination source above the horizon. The slope is expressed in positive degrees, with 0 degrees at the horizon and 90 degrees directly overhead. A commonly used altitude is 45 degrees |
inModelShadows |
a Boolean specifying the type of shaded relief to be generated If True, the output shaded relief Raster will consider both local illumination angles and shadows. The output Raster contains values ranging from 0 and 255, with 0 representing the areas in shadow, and 255 the brightest. If False, the output shaded relief Raster only considers local illumination angles; the effects of shadows are not considered. The output grid contains values ranging from 0 and 255, with 0 representing the darkest areas and 255 the brightest. |
[zFactor] |
the geoDataset ZUnits are multiplied by the specified [zFactor] to adjust the output Raster ZUnits to another unit of measure. If no [zFactor] is specified, a [zFactor] of 1 is applied. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading |
hillShade
in interface ISurfaceOp
hillShade
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)azimuth
- The azimuth (in)altitude
- The altitude (in)inModelShadows
- The inModelShadows (in)zFactor
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset slope(IGeoDataset geoDataset, int slopeType, Object zFactor) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
slopeType |
esriGeoAnalysisSlopeEnum specifying the units in which the value of slope will be expressed esriGeoAnalysisSlopeDegree with this option the inclination of slope will be calculated in degrees esriGeoAnalysisSlopePercentrise indicates to output the percent rise, also referred to as the percent slope |
[zFactor] |
the number of ground x, y Units in one surface ZUnit The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading. |
slope
in interface ISurfaceOp
slope
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)slopeType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisSlopeEnum constant (in)zFactor
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset aspect(IGeoDataset geoDataset) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
aspect
in interface ISurfaceOp
aspect
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset cutFill(IGeoDataset beforeGeoDataset, IGeoDataset afterGeoDataset, Object zFactor) throws IOException, AutomationException
beforeGeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor. Represents the before (past) state of the study area. |
afterGeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor. Represents the current or after state of the study area. |
[zFactor] |
the number of ground x, y Units in one surface ZUnit The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading. |
cutFill
in interface ISurfaceOp
cutFill
in interface ISurfaceOp2
beforeGeoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)afterGeoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)zFactor
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset curvature(IGeoDataset geoDataset, boolean profile, boolean plan) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor representing a continuous surface |
profile |
a Boolean that if True will create an output profile Raster The profile Raster shows the rate of change of slope for each cell. This is the curvature of the surface in the direction of slope. |
plan |
The plan Raster shows the curvature of the surface perpendicular to the slope direction, referred to as the planform curvature. |
curvature
in interface ISurfaceOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)profile
- The profile (in)plan
- The plan (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset contour(IGeoDataset geoDataset, double interval, Object base) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured |
interval |
the contour interval to be used. This can be any positive number |
[base] |
the value from which to begin generation of contours. Contours are generated above and below this value as needed to cover the entire value range of the geoData. If none is specified, then the contouring will begin at 0 |
contour
in interface ISurfaceOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)interval
- The interval (in)base
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset contourList(IGeoDataset geoDataset, Object contoursArray) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured |
contoursarray |
the list of z values at which to generate contours |
contourList
in interface ISurfaceOp
contourList
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)contoursArray
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contoursAsPolylines(IGeoDataset geoDataset, IPointCollection inputPoints, IGeometryCollection[] contourLines, IPointCollection[] outputPointsWithElevations) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured |
inputPoints |
a input collection of points using IPointCollection which specifies where multiple contours or isolines will pass through. |
contourLines |
the output collection of polylines from IGeometryCollection representing multiple contour or isolines that identify the constant cell values of the input points. |
outputPointsWithElevations |
an output point collection which can be used to obtain the cell value (z attribute) of the (i)th point object that intersects with input GeoDataset thus describing the value of the (i)th output contour line |
contoursAsPolylines
in interface ISurfaceOp
contoursAsPolylines
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)inputPoints
- A reference to a com.esri.arcgis.geometry.IPointCollection (in)contourLines
- A reference to a com.esri.arcgis.geometry.IGeometryCollection (out: use single element array)outputPointsWithElevations
- A reference to a com.esri.arcgis.geometry.IPointCollection (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void contourAsPolyline(IGeoDataset geoDataset, IPoint inputPoint, IPolyline[] contourLine, double[] elevation) throws IOException, AutomationException
GeoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured |
inputPoint |
an input point feature defined by a point object using IPoint interface which the resulting contour or isoline will pass through |
contourLine |
the output contour or isoline polyline object which represents the constant cell values of the input point. |
elevation |
an output double value which represents the cell value that the input point intersects with in the input GeoDataset. This value therefore can be used to describe the value of the output contour line |
contourAsPolyline
in interface ISurfaceOp
contourAsPolyline
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)inputPoint
- A reference to a com.esri.arcgis.geometry.IPoint (in)contourLine
- A reference to a com.esri.arcgis.geometry.IPolyline (out: use single element array)elevation
- The elevation (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset visibility(IGeoDataset geoDataset, IGeoDataset observers, int visType) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor used to define the z values for visibility calculations and analysis |
observers |
input FeatureClass or FeatureClassDescriptor containing containing point or line features used as observation points |
visType |
an esriGeoAnalysisVisibilityEnum specifing the type of visibility analysis to be performed esriGeoAnalysisVisibilityFrequency the output will only record the number of times each raster-cell location can be seen by the observation points The observation frequency will be recorded in the Value item in the output Raster's value attribute table. esriGeoAnalysisVisibilityObservers the output for each cell location will contain a binary-encoded value which can be decoded to identify the observation# of each observation point that can see each Raster cell The encoded value will be recorded in the Value item in the output Raster's value attribute table. In addition to the standard items, Value and Count, in the value attribute table, a new item named OBSn will be created in the value attribute table for each observer n in the input point dataset. The OBSn item will be assigned a value of 1 if the cell can be seen by observer n, or a value of 0 if it cannot be seen. esriGeoAnalysisVisibilityFrequencyUseCurvature the output will only record the number of times each raster-cell location can be seen by the observation points The observation frequency will be recorded in the Value item in the output Raster's value attribute table. It also corrects for earth curvature and refraction. esriGeoAnalysisVisibilityObserversUseCurvature the output for each cell location will contain a binary-encoded value which can be decoded to identify the observation# of each observation point that can see each Raster cell The encoded value will be recorded in the Value item in the output Raster's value attribute table. In addition to the standard items, Value and Count, in the value attribute table, a new item named OBSn will be created in the value attribute table for each observer n in the input point dataset. The OBSn item will be assigned a value of 1 if the cell can be seen by observer n, or a value of 0 if it cannot be seen. It also corrects for earth curvature and refraction. |
visibility
in interface ISurfaceOp
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)observers
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)visType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisVisibilityEnum constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset contour(IGeoDataset geoDataset, double interval, Object base, Object zFactor) throws IOException, AutomationException
geoData |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor to be contoured |
interval |
the contour interval to be used. This can be any positive number |
[base] |
the value from which to begin generation of contours. Contours are generated above and below this value as needed to cover the entire value range of the geoData. If none is specified, then the contouring will begin at 0 |
[zFactor] |
The number of ground x, y Units in one surface ZUnit The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading. |
contour
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)interval
- The interval (in)base
- A Variant (in, optional, pass null if not required)zFactor
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset curvature(IGeoDataset geoDataset, boolean profile, boolean plan, Object zFactor) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor representing a continuous surface |
profile |
a Boolean that if True will create an output profile Raster The profile Raster shows the rate of change of slope for each cell. This is the curvature of the surface in the direction of slope. |
plan |
The plan Raster shows the curvature of the surface perpendicular to the slope direction, referred to as the planform curvature. |
[zFactor] |
The number of ground x, y Units in one surface ZUnit The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading. |
curvature
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)profile
- The profile (in)plan
- The plan (in)zFactor
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeoDataset visibility(IGeoDataset geoDataset, IGeoDataset observers, int visType, Object pZFactor, Object pRefractivityCoefficient) throws IOException, AutomationException
geoDataset |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor used to define the z values for visibility calculations and analysis |
observers |
input FeatureClass or FeatureClassDescriptor containing containing point or line features used as observation points |
visType |
an esriGeoAnalysisVisibilityEnum specifing the type of visibility analysis to be performed esriGeoAnalysisVisibilityFrequency the output will only record the number of times each raster-cell location can be seen by the observation points The observation frequency will be recorded in the Value item in the output Raster's value attribute table. esriGeoAnalysisVisibilityObservers the output for each cell location will contain a binary-encoded value which can be decoded to identify the observation# of each observation point that can see each Raster cell The encoded value will be recorded in the Value item in the output Raster's value attribute table. In addition to the standard items, Value and Count, in the value attribute table, a new item named OBSn will be created in the value attribute table for each observer n in the input point dataset. The OBSn item will be assigned a value of 1 if the cell can be seen by observer n, or a value of 0 if it cannot be seen. esriGeoAnalysisVisibilityFrequencyUseCurvature the output will only record the number of times each raster-cell location can be seen by the observation points The observation frequency will be recorded in the Value item in the output Raster's value attribute table. It also corrects for earth curvature and refraction. esriGeoAnalysisVisibilityObserversUseCurvature the output for each cell location will contain a binary-encoded value which can be decoded to identify the observation# of each observation point that can see each Raster cell The encoded value will be recorded in the Value item in the output Raster's value attribute table. In addition to the standard items, Value and Count, in the value attribute table, a new item named OBSn will be created in the value attribute table for each observer n in the input point dataset. The OBSn item will be assigned a value of 1 if the cell can be seen by observer n, or a value of 0 if it cannot be seen. It also corrects for earth curvature and refraction. |
[pZFactor] |
The number of ground x, y units in one surface Zunit. The geoDataset ZUnits are multiplied by the specified zFactor to adjust the output Raster ZUnits to another unit of measure. If no zFactor is specified the value of the zFactor is 1. Higher z values will result in a more exaggerated relief (surface) and thus in a more extreme shading. |
[pRefractivityCoefficient] |
Coefficient of the refraction of visible light in air. The default value is 0.13 |
visibility
in interface ISurfaceOp2
geoDataset
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)observers
- A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)visType
- A com.esri.arcgis.geoanalyst.esriGeoAnalysisVisibilityEnum constant (in)pZFactor
- A Variant (in, optional, pass null if not required)pRefractivityCoefficient
- A Variant (in, optional, pass null if not required)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
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 |