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

Index int

Property Value

ITerrainDataSource

DataSourceCount

The number of data sources participating in the terrain.

int DataSourceCount { get; }

Property Value

int

Extent

The approximate xyz extent of the terrain.

IEnvelope Extent { get; }

Property Value

IEnvelope

FeatureDataset

The feature dataset which contains the terrain.

IFeatureDataset FeatureDataset { get; }

Property Value

IFeatureDataset

ID

The database identifier of the terrain.

int ID { get; }

Property Value

int

IsDirty

Indicates whether or not a partial rebuild is needed.

bool IsDirty { get; }

Property Value

bool

IsValid

Indicates whether or not a full build is required.

bool IsValid { get; }

Property Value

bool

MaxOverviewTerrainPoints

The maximum number of points in the most generalized representation of a Terrain.

int MaxOverviewTerrainPoints { get; }

Property Value

int

MaxPointsPerShape

The maximum number of vertices per multipoint.

int MaxPointsPerShape { get; }

Property Value

int

Name

The name of the terrain.

string Name { get; }

Property Value

string

PyramidLevel[int]

Returns the pyramid level specified by the index.

ITerrainPyramidLevel PyramidLevel[int Index] { get; }

Parameters

Index int

Property Value

ITerrainPyramidLevel

PyramidLevelCount

The number of pyramid levels in the terrain.

int PyramidLevelCount { get; }

Property Value

int

PyramidType

The pyramid type of this Terrain.

esriTerrainPyramidType PyramidType { get; }

Property Value

esriTerrainPyramidType

Size

The total number of points in the Terrain.

double Size { get; }

Property Value

double

SpatialReference

The spatial reference of the terrain.

ISpatialReference SpatialReference { get; }

Property Value

ISpatialReference

TileSize

The horizontal distance used to spatially index and partition terrain data.

double TileSize { get; }

Property Value

double

Methods

CreateDynamicSurface()

Returns an implicit surface from which TINs and rasters are derived.

IDynamicSurface CreateDynamicSurface()

Returns

IDynamicSurface

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

Index int
pFeatureClass IFeatureClass
pAOI IEnvelope
Resolution double
pTrackCancel ITrackCancel

GetDirtyTiles()

Returns all dirty tiles.

IEnumEnvelope GetDirtyTiles()

Returns

IEnumEnvelope

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

pAOI IEnvelope
Resolution double

Returns

double

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)

Parameters

pRowBegin int
pRowEnd int
pColBegin int
pColEnd int
pXMin double
pYMin double
pTileSize double
pRowCountDomain int
pColCountDomain int