ArcObjects Library Reference (GeoDatabaseExtensions)  

ILasFilter.Clone Method

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

Product Availability

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

Description

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.

See Also

ILasFilter Interface