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


ILasReturnStatistics.PointCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasReturnStatistics Interface > ILasReturnStatistics.PointCount Property
ArcGIS Developer Help

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