This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasDatasetEdit Interface > ILasDatasetEdit.CalculateStatistics Method (ArcObjects .NET 10.4 SDK) |
Calculate statistics of the entire dataset.
[Visual Basic .NET] Public Sub CalculateStatistics ( _ ByVal pTrackCancel As ITrackCancel, _ ByVal bForce As Boolean, _ ByRef ppBadFiles As ILongArray _ )
[C#] public void CalculateStatistics ( ITrackCancel pTrackCancel, bool bForce, ref ILongArray ppBadFiles );
[C++]
HRESULT CalculateStatistics(
ITrackCancel* pTrackCancel,
VARIANT_BOOL bForce,
ILongArray** ppBadFiles
);
[C++]
Parameters pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel bForce [in] bForce is a parameter of type VARIANT_BOOL ppBadFiles [out]
ppBadFiles is a parameter of type ILongArray
Computes the statistics for the las dataset.
pTrackCancel is a reference to a Cancel Tracker object that can be used to monitor progress and/or cancel the process. This can be set to a NULL pointer ('Nothing' in VB) if desired.
bForce, if set to false, statistics are computed only for the las files that have outdated or no statistics. Setting it true forces a re-compute of the statistics for all the las files.
ppBadFiles is the list of files for which the statistics computation has failed.