|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITerrain2
Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.
Method Summary | |
---|---|
String |
getEmbeddedDataSourceShapeFieldName()
Returns the 'Shape' field name of the embedded data sources. |
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 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 |
Method Detail |
---|
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.
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.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.
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 |