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


ILasPointCloud.GetLasPoints Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasPointCloud.GetLasPoints Method

Returns a point enumerator object.

[Visual Basic .NET]
Public Function GetLasPoints ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal pFilter As ILasPointFilter, _
    ByVal thinningFactor As Double, _
    ByVal ZFactor As Double _
) As IEnumLasPoint
[C#]
public IEnumLasPoint GetLasPoints (
    ITrackCancel pTrackCancel,
    ILasPointFilter pFilter,
    double thinningFactor,
    double ZFactor
);
[C++]
HRESULT GetLasPoints(
  ITrackCancel* pTrackCancel,
  ILasPointFilter* pFilter,
  double thinningFactor,
  double ZFactor,
  IEnumLasPoint** ppPoints
);
[C++]

Parameters pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel pFilter [in]
pFilter is a parameter of type ILasPointFilter thinningFactor [in] thinningFactor is a parameter of type double ZFactor [in] ZFactor is a parameter of type double ppPoints [out, retval]
ppPoints is a parameter of type IEnumLasPoint

Product Availability

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

Description

Returns a Las point enumerator to retrieve points from a 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.
pFilter references a ILasPointFilter that defines the selection criteria for what points to read from the las files.

thinningFactor is a double with a valid range: >0  and <=1.0. Multiplied by 100, it represents the percentage of points to retrieve from within the area of interest defined by pFilter.

zFactor is used to convert the vertical units of the retrieved points (e.g., to convert feet to meters). The output point z values are multipled by the zFactor.

See Also

ILasPointCloud Interface