This document is archived and information here might be outdated. Recommended version. |
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
);
[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
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
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. Prior to 10.5 the zFactor is always applied. In 10.5 and later the zFactor is applied only if the software doesn't have enough information to go on to apply a factor itself. Otherwise, it's ignored. It looks at the input files and the 'target' spatial reference which is the LAS Dataset spatial reference. It will try to honor the target. This can mean that it selectively applies a zFactor if the LAS files themselves have different z units, some that don't match the output vs. some that already do.