|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabaseextensions.ITerrainProxy com.esri.arcgis.geodatabaseextensions.ITerrain2Proxy
public class ITerrain2Proxy
Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public ITerrain2Proxy()
public ITerrain2Proxy(Object obj) throws IOException
IOException
protected ITerrain2Proxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class ITerrainProxy
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class ITerrainProxy
IOException
public String getEmbeddedDataSourceShapeFieldName() throws IOException, AutomationException
Returns the name of the shape field for any and all embedded feature classes in the terrain. They all use the same name.
getEmbeddedDataSourceShapeFieldName
in interface ITerrain2
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void searchFromEmbeddedDataSource(int index, IEnvelope pAOI, double resolution, IStringArray pSubFields, IFeatureCursor[] ppCursor, ILongArray[] ppFieldIndices) throws IOException, AutomationException
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.
searchFromEmbeddedDataSource
in interface ITerrain2
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)
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 |