Interface ITerrain
- Namespace
- ESRI.ArcGIS.GeoDatabaseExtensions
- Assembly
- ESRI.Server.GeoDatabaseExtensions.dll
Provides access to members used to acquire information about a Terrain and to retrieve DynamicSurface objects from which raster and TIN surfaces are made.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("F657C7ED-FE73-493E-8CF7-845E20CB7D9B")]
public interface ITerrain
Properties
DataSource[int]
Returns the data source specified by the index.
ITerrainDataSource DataSource[int Index] { get; }
Parameters
Indexint
Property Value
DataSourceCount
The number of data sources participating in the terrain.
int DataSourceCount { get; }
Property Value
Extent
The approximate xyz extent of the terrain.
IEnvelope Extent { get; }
Property Value
FeatureDataset
The feature dataset which contains the terrain.
IFeatureDataset FeatureDataset { get; }
Property Value
ID
The database identifier of the terrain.
int ID { get; }
Property Value
IsDirty
Indicates whether or not a partial rebuild is needed.
bool IsDirty { get; }
Property Value
IsValid
Indicates whether or not a full build is required.
bool IsValid { get; }
Property Value
MaxOverviewTerrainPoints
The maximum number of points in the most generalized representation of a Terrain.
int MaxOverviewTerrainPoints { get; }
Property Value
MaxPointsPerShape
The maximum number of vertices per multipoint.
int MaxPointsPerShape { get; }
Property Value
Name
The name of the terrain.
string Name { get; }
Property Value
PyramidLevel[int]
Returns the pyramid level specified by the index.
ITerrainPyramidLevel PyramidLevel[int Index] { get; }
Parameters
Indexint
Property Value
PyramidLevelCount
The number of pyramid levels in the terrain.
int PyramidLevelCount { get; }
Property Value
PyramidType
The pyramid type of this Terrain.
esriTerrainPyramidType PyramidType { get; }
Property Value
Size
The total number of points in the Terrain.
double Size { get; }
Property Value
SpatialReference
The spatial reference of the terrain.
ISpatialReference SpatialReference { get; }
Property Value
TileSize
The horizontal distance used to spatially index and partition terrain data.
double TileSize { get; }
Property Value
Methods
CreateDynamicSurface()
Returns an implicit surface from which TINs and rasters are derived.
IDynamicSurface CreateDynamicSurface()
Returns
ExtractFromEmbeddedDataSource(int, IFeatureClass, IEnvelope, double, ITrackCancel)
Copies features of an embedded data source to the specified feature class.
void ExtractFromEmbeddedDataSource(int Index, IFeatureClass pFeatureClass, IEnvelope pAOI, double Resolution, ITrackCancel pTrackCancel)
Parameters
IndexintpFeatureClassIFeatureClasspAOIIEnvelopeResolutiondoublepTrackCancelITrackCancel
GetDirtyTiles()
Returns all dirty tiles.
IEnumEnvelope GetDirtyTiles()
Returns
GetPointCount(IEnvelope, double)
Returns the approximate number of points in the terrain within a given area and at a particular pyramid level.
double GetPointCount(IEnvelope pAOI, double Resolution)
Parameters
Returns
QueryTileInfo(out int, out int, out int, out int, out double, out double, out double, out int, out int)
Returns horizontal partitioning information about the terrain data.
void QueryTileInfo(out int pRowBegin, out int pRowEnd, out int pColBegin, out int pColEnd, out double pXMin, out double pYMin, out double pTileSize, out int pRowCountDomain, out int pColCountDomain)