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


ILasStatistics.GetReturnStatistics Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasStatistics.GetReturnStatistics Method

Get statistics associated with the specified return type.

[Visual Basic .NET]
Public Function GetReturnStatistics ( _
    ByVal Type As esriTerrainLasReturnType _
) As ILasReturnStatistics
[C#]
public ILasReturnStatistics GetReturnStatistics (
    esriTerrainLasReturnType Type
);
[C++]
HRESULT GetReturnStatistics(
  esriTerrainLasReturnType Type,
  ILasReturnStatistics** ppStatistics
);
[C++]

Parameters Type [in]
Type is a parameter of type esriTerrainLasReturnType ppStatistics [out, retval]
ppStatistics is a parameter of type ILasReturnStatistics

Product Availability

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

Description

Provides the LasReturnStatistics for the specified return type. NULL is returned if there are no points of the specified type.

Note:

Some LAS files in the wild have been found to contain returns numbered "0". These are not valid returns but you can check to see if they are present by passing a "0" for the return type instead of one of the esriTerrainLasReturnType values.

See Also

ILasStatistics Interface