This document is archived and information here might be outdated.  Recommended version.


Terrain Class (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

Terrain Class

The Esri Terrain component.

Terrain is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Description

A Terrain is used to define a surface based on vector measurements stored in the geodatabase. Terrains live inside feature datasets and are comprised of one or more feature classes and rules. Rules govern how the measurements associated with each feature class contribute to define the surface.

Interfaces

Interfaces Description
IDataset (esriGeoDatabase) Provides access to members that supply dataset information.
IDatasetAnalyze (esriGeoDatabase) Provides access to members that analyze a dataset.
IDatasetComponent (esriGeoDatabase) Provides access to the common functionality found on all dataset components.
IDatasetComponent2 (esriGeoDatabase) Provides access to the common functionality found on all dataset components.
IGeoDataset (esriGeoDatabase) Provides access to members that provide information about a Geographic Dataset.
IMetadata (esriGeoDatabase) Provides access to members that manage and update metadata.
IMetadataEdit (esriGeoDatabase) Provides access to members that provide information about whether metadata can be edited.
INativeTypeInfo (esriGeoDatabase) Provides access to the native type.
ISchemaLock (esriGeoDatabase) Provides access to members for accessing schema locking functionality.
ITerrain Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.
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.
ITerrainEdit Provides access to members used to modify and build a terrain.
ITerrainEdit2 Provides access to members used to modify and build a terrain.
ITerrainEdit3 Provides access to members used to modify and build a terrain.

Event Interfaces

Interfaces Description
ITerrainEditEvents (default) Provides access to events that occur with a Terrain dataset.

Working with Events

[Visual Basic 6.0]

When working with Terrain's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pTerrain as Terrain