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


ILasReturnStatistics.PointCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasReturnStatistics.PointCount Property

The number of points associated with this return (excluding withheld points).

[Visual Basic .NET]
Public ReadOnly Property PointCount As Double
[C#]
public double PointCount {get;}
[C++]
HRESULT get_PointCount(
  System.Double* pCount
);
[C++]

Parameters pCount [out, retval]
pCount is a parameter of type double*

Product Availability

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

Description

Note, its possible for there to be a discrepancy between this and IHeaderInfo.GetNumberOfPointsByReturn or ILasFile.GetNumberOfPointsByReturn. This is because the value from ILasReturnStatistics is based on a scan of the point records (i.e., the actual file contents), while the other methods are simply echoing what's stated in the LAS file header(s) and some LAS files have been found to contain incorrect header information.

See Also

ILasReturnStatistics Interface