com.esri.arcgis.geodatabaseextensions
Class ITerrain2Proxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabaseextensions.ITerrainProxy
          extended by com.esri.arcgis.geodatabaseextensions.ITerrain2Proxy
All Implemented Interfaces:
ITerrain, ITerrain2, Externalizable, Serializable

public class ITerrain2Proxy
extends ITerrainProxy
implements ITerrain2, Serializable

Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.

Product Availability

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

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  ITerrain2Proxy()
           
  ITerrain2Proxy(Object obj)
           
protected ITerrain2Proxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 String getEmbeddedDataSourceShapeFieldName()
          Returns the 'Shape' field name of the embedded data sources.
 void removeListener(String iidStr, Object theListener)
           
 void searchFromEmbeddedDataSource(int index, IEnvelope pAOI, double resolution, IStringArray pSubFields, IFeatureCursor[] ppCursor, ILongArray[] ppFieldIndices)
          Returns a Search Cursor on the specified embedded data source.
 
Methods inherited from class com.esri.arcgis.geodatabaseextensions.ITerrainProxy
createDynamicSurface, extractFromEmbeddedDataSource, getDataSource, getDataSourceCount, getDirtyTiles, getExtent, getFeatureDataset, getID, getMaxOverviewTerrainPoints, getMaxPointsPerShape, getName, getPointCount, getPyramidLevel, getPyramidLevelCount, getPyramidType, getSize, getSpatialReference, getTileSize, isDirty, isValid, queryTileInfo
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrain
createDynamicSurface, extractFromEmbeddedDataSource, getDataSource, getDataSourceCount, getDirtyTiles, getExtent, getFeatureDataset, getID, getMaxOverviewTerrainPoints, getMaxPointsPerShape, getName, getPointCount, getPyramidLevel, getPyramidLevelCount, getPyramidType, getSize, getSpatialReference, getTileSize, isDirty, isValid, queryTileInfo
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

ITerrain2Proxy

public ITerrain2Proxy()

ITerrain2Proxy

public ITerrain2Proxy(Object obj)
               throws IOException
Throws:
IOException

ITerrain2Proxy

protected ITerrain2Proxy(Object obj,
                         String iid)
                  throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class ITerrainProxy
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class ITerrainProxy
Throws:
IOException

getEmbeddedDataSourceShapeFieldName

public String getEmbeddedDataSourceShapeFieldName()
                                           throws IOException,
                                                  AutomationException
Returns the 'Shape' field name of the embedded data sources.

Description

Returns the name of the shape field for any and all embedded feature classes in the terrain. They all use the same name.

Product Availability

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

Specified by:
getEmbeddedDataSourceShapeFieldName in interface ITerrain2
Returns:
The pName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

searchFromEmbeddedDataSource

public void searchFromEmbeddedDataSource(int index,
                                         IEnvelope pAOI,
                                         double resolution,
                                         IStringArray pSubFields,
                                         IFeatureCursor[] ppCursor,
                                         ILongArray[] ppFieldIndices)
                                  throws IOException,
                                         AutomationException
Returns a Search Cursor on the specified embedded data source.

Description

Index is used to indicate which feature class to search and retrieve records from. The index must reference and embedded multipoint feature class.

pAOI is an envelope representing the area of interest. This can be NULL, in which case the full extent of the terrain is used.

resolution is the z-tolerance or windowsize of the pyramid level to query records from. Ideally, the value provided should exactly match an existing pyramid level. If not, the next highest resolution level to the value specified will be used.

pSubFields is an array of field names for desired attributes. Use ITerrain2.GetEmbeddedDataSourceShapeFieldName for the shape field if you're interested in retrieving the geometry.

ppCursor is the output feature cursor.

ppFieldIndices is a LongArray containing the cursor field index values for the requested attributes, listed in the same order as provided in pSubFields.

Product Availability

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

Specified by:
searchFromEmbeddedDataSource in interface ITerrain2
Parameters:
index - The index (in)
pAOI - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
resolution - The resolution (in)
pSubFields - A reference to a com.esri.arcgis.system.IStringArray (in)
ppCursor - A reference to a com.esri.arcgis.geodatabase.IFeatureCursor (out: use single element array)
ppFieldIndices - A reference to a com.esri.arcgis.system.ILongArray (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.