com.esri.arcgis.geodatabaseextensions
Interface ITerrainEdit2

All Superinterfaces:
ITerrainEdit, Serializable
All Known Implementing Classes:
ITerrainEdit2Proxy, Terrain

public interface ITerrainEdit2
extends ITerrainEdit, Serializable

Provides access to members used to modify and build a terrain.

Description

This interface is new at ArcGIS 9.3. It supersedes ITerrainEdit.

Product Availability

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


Method Summary
 void updateExtent(ITrackCancel pTrackCancel)
          Refresh terrain's extent.
 
Methods inherited from interface com.esri.arcgis.geodatabaseextensions.ITerrainEdit
addDataSource, addDataSourceData, addPyramidLevel, build, changeMaxScale, changeResolutionBounds, deleteDataSourceData, removeDataSource, removePyramidLevel, replaceDataSourceData
 

Method Detail

updateExtent

void updateExtent(ITrackCancel pTrackCancel)
                  throws IOException,
                         AutomationException
Refresh terrain's extent.

Description

UpdateExtent is used to recalculate the data extent for a windowsize based terrain dataset when the data area has been reduced through editing. It's not needed if the terrain is z-tolerance based. Nor is it needed if the data extent has increased. It's only needed for windowsize terrains with reduced data extents. It needs to be called after the terrain is built (i.e., ITerrainEdit.Build, ITerrain.IsDirty = FALSE.).

UpdateExtent scans through all the terrain data to determine the new extent. It can therefore be expensive in terms of I/O if the terrain is large.

Product Availability

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

Parameters:
pTrackCancel - A reference to a com.esri.arcgis.system.ITrackCancel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.