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


ILasDataset2.Rearrange Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseExtensions > ESRI.ArcGIS.GeoDatabaseExtensions > Interfaces > IL > ILasDataset2 Interface > ILasDataset2.Rearrange Method
ArcGIS Developer Help

ILasDataset2.Rearrange Method

Spatially rearrange points.

[Visual Basic .NET]
Public Sub Rearrange ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal FileIndex As Integer, _
    ByVal newFileName As String, _
    ByVal bOverWrite As Boolean _
)
[C#]
public void Rearrange (
    ITrackCancel pTrackCancel,
    int FileIndex,
    string newFileName,
    bool bOverWrite
);
[C++]
HRESULT Rearrange(
  ITrackCancel* pTrackCancel,
  long FileIndex,
  BSTR newFileName,
  VARIANT_BOOL bOverWrite
);
[C++]
Parameters
pTrackCancel [in]

pTrackCancel is a parameter of type ITrackCancel* FileIndex [in]
FileIndex is a parameter of type long newFileName [in]
newFileName is a parameter of type BSTR bOverWrite [in]
bOverWrite is a parameter of type bool

Product Availability

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

Description

Physically reorders the point records into a new LAS file such that those which are close to one another in XY space are relatively close to one another in the output file. This generally translates into improved performance when executing spatial queries. Rearrange also computes statistics and a spatial index (placed into a *.lasx sidecar file) since the work of making a spatial index is performed as an inherent part of the process.

Remarks


[C#]
[C++]
[Visual Basic .NET]

See Also

ILasDataset2 Interface