This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IT > ITerrainDataImporter Interface > ITerrainDataImporter.GetDataExtent Method (ArcObjects .NET 10.5 SDK) |
The XYZ extent of data contained in files/folders to be added.
[Visual Basic .NET] Public Function GetDataExtent ( _ ByVal pTargetSpatialReference As ISpatialReference _ ) As IEnvelope
[C#] public IEnvelope GetDataExtent ( ISpatialReference pTargetSpatialReference );
[C++]
HRESULT GetDataExtent(
ISpatialReference* pTargetSpatialReference,
IEnvelope** ppExt
);
[C++]
Parameters pTargetSpatialReference [in]
pTargetSpatialReference is a parameter of type ISpatialReference ppExt [out, retval]
ppExt is a parameter of type IEnvelope
Returns the data extent of points in the files referenced by the importer. See AddFile and AddFolder.
LAS format LIDAR files contain the data extent in the header. From them, the extent can be extracted quickly. ASCII files, on the other hand, must be scanned to discover the extent. The time this will take is proportional to the amount of data to scan through.