This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoDatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasFilter Interface > ILasFilter.Clone Method (ArcObjects .NET 10.4 SDK) |
Make a clone.
[Visual Basic .NET] Public Function Clone ( _ ) As ILasFilter
[C#] public ILasFilter Clone ( );
[C++]
HRESULT Clone(
ILasFilter** ppClone
);
[C++]
Parameters ppClone [out, retval]
ppClone is a parameter of type ILasFilter
Performs a deep clone of the filter.
One common use of this method is to copy the filter from a LAS dataset layer, modify a property such as AreaOfInterest, and use the modified copy for some analysis operation while leaving the layer safely unchanged.
Be aware that a deep clone can be expensive if the AreaOfInterest property is set to a large, complex, polygon since that will get cloned as well. In this situation it may be better to save the polygon, set the AreaOfInterest property to NULL, call Clone, then reset the AreaOfInterest.