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


ILasStatistics.GetUniqueReturns Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasStatistics.GetUniqueReturns Method

Get unique returns (as esriTerrainLasReturnType).

[Visual Basic .NET]
Public Function GetUniqueReturns ( _
) As ILongArray
[C#]
public ILongArray GetUniqueReturns (
);
[C++]
HRESULT GetUniqueReturns(
  ILongArray** ppReturns
);
[C++]

Parameters ppReturns [out, retval]
ppReturns is a parameter of type ILongArray

Product Availability

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

Description

Returns an ILongArray of esriTerrainLasReturnType. The number of entries in the array will equal the number of return types present in the file/dataset. These include the returns with explicit return numbers (i.e., returns 1-5) plus those which are inferred by comparing the return number for a point to the total returns for the pulse associated with the point (e.g., to derive first of many, last of many, single, etc.).

Note:

Some LAS files in the wild have been found to contain returns numbered "0". These are not valid returns but if they exist in the file they will be reported in the LongArray with a value of "0". Their presence will induce the addition of others like esriTerrainLasReturnLast (for point records that have both return number and number of returns set to 0) and esriTerrainLasReturnAll.

See Also

ILasStatistics Interface