Skip to content

ILasWriter Interface

Provides access to members of LasWriter.

Members

Name Description
Method AddPoints Add point records.
Method AddPointsCStyle Add point records using C-Style array.
Method AddVlr Add a variable length record or extended variable length record.
Method AddVlrCStyle Add a variable length record or extended variable length record using C-Style array.
Method Finalize Finish adding data to the LAS file and save the result.
Method Init Initialize the writer object.
Method SetEmpty Empty the object.
Method SetFileSourceID The file source ID of the LAS file.
Method SetGeneratingSoftware The generating software of the LAS file.
Method SetGUID The GUID of the LAS file.
Method SetSystemID The system ID of the LAS file.
Method SetTempFilePath The path for temp files.

ILasWriter.AddPoints Method

Add point records.

Public Sub AddPoints ( _
    ByVal pPoints As IXyzArray, _
    ByVal pIntensities As ILongArray, _
    ByVal pCodes As ILongArray, _
    ByVal pFlags As ILongArray, _
    ByVal pGPS As IDoubleArray, _
    ByVal pRGBs As IRgbArray, _
    ByVal pNIRs As ILongArray, _
    ByRef extraBytes As Byte[]& _
)
public void AddPoints (
    IXyzArray pPoints,
    ILongArray pIntensities,
    ILongArray pCodes,
    ILongArray pFlags,
    IDoubleArray pGPS,
    IRgbArray pRGBs,
    ILongArray pNIRs,
    ref Byte[]& extraBytes
);

ILasWriter.AddPointsCStyle Method

Add point records using C-Style array.

Public Sub AddPointsCStyle ( _
    ByVal Count As Integer, _
    ByRef pPoints As WKSPointZ, _
    ByRef pIntensities As Integer, _
    ByRef pCodes As Integer, _
    ByRef pFlags As Integer, _
    ByRef pGPS As Double, _
    ByRef pRGBs As RGB32, _
    ByRef pNIRs As Integer, _
    ByVal extraByteCount As Integer, _
    ByRef extraBytes As Byte& _
)
public void AddPointsCStyle (
    int Count,
    ref WKSPointZ pPoints,
    ref int pIntensities,
    ref int pCodes,
    ref int pFlags,
    ref double pGPS,
    ref RGB32 pRGBs,
    ref int pNIRs,
    ref int extraByteCount,
    ref Byte& extraBytes
);

ILasWriter.AddVlr Method

Add a variable length record or extended variable length record.

Public Sub AddVlr ( _
    ByVal bIsEVLR As Boolean, _
    ByRef vlr As Byte[]& _
)
public void AddVlr (
    bool bIsEVLR,
    ref Byte[]& vlr
);

ILasWriter.AddVlrCStyle Method

Add a variable length record or extended variable length record using C-Style array.

Public Sub AddVlrCStyle ( _
    ByVal bIsEVLR As Boolean, _
    ByVal length As Integer, _
    ByRef pVLR As Byte& _
)
public void AddVlrCStyle (
    bool bIsEVLR,
    int length,
    ref Byte& pVLR
);

ILasWriter.Finalize Method

Finish adding data to the LAS file and save the result.

Public Sub Finalize ( _
    ByVal bSaveResult As Boolean, _
    ByVal bComputeStats As Boolean _
)
public void Finalize (
    bool bSaveResult,
    bool bComputeStats
);

ILasWriter.Init Method

Initialize the writer object.

Public Sub Init ( _
    ByVal pTrackCancel As ITrackCancel, _
    ByVal pSpatialRef As ISpatialReference, _
    ByVal fileName As String, _
    ByVal bOverWrite As Boolean, _
    ByVal bAsZlas As Boolean, _
    ByVal bRearrange As Boolean, _
    ByVal bStandardGpsTime As Boolean, _
    ByVal verMajor As Integer, _
    ByVal verMinor As Integer, _
    ByVal pointFormat As Integer, _
    ByVal extraBytes As Integer, _
    ByVal xOffset As Double, _
    ByVal yOffset As Double, _
    ByVal zOffset As Double, _
    ByVal xScaleFactor As Double, _
    ByVal yScaleFactor As Double, _
    ByVal zScaleFactor As Double _
)
public void Init (
    ITrackCancel pTrackCancel,
    ISpatialReference pSpatialRef,
    string fileName,
    bool bOverWrite,
    bool bAsZlas,
    bool bRearrange,
    bool bStandardGpsTime,
    int verMajor,
    int verMinor,
    int pointFormat,
    int extraBytes,
    double xOffset,
    double yOffset,
    double zOffset,
    double xScaleFactor,
    double yScaleFactor,
    double zScaleFactor
);

ILasWriter.SetEmpty Method

Empty the object.

Public Sub SetEmpty ( _
)
public void SetEmpty (
);

ILasWriter.SetFileSourceID Method

The file source ID of the LAS file.

Public Sub SetFileSourceID ( _
    ByVal ID As Integer _
)
public void SetFileSourceID (
    int ID
);

ILasWriter.SetGeneratingSoftware Method

The generating software of the LAS file.

Public Sub SetGeneratingSoftware ( _
    ByVal software As String _
)
public void SetGeneratingSoftware (
    string software
);

ILasWriter.SetGUID Method

The GUID of the LAS file.

Public Sub SetGUID ( _
    ByVal pGuid As UID _
)
public void SetGUID (
    UID pGuid
);

ILasWriter.SetSystemID Method

The system ID of the LAS file.

Public Sub SetSystemID ( _
    ByVal ID As String _
)
public void SetSystemID (
    string ID
);

ILasWriter.SetTempFilePath Method

The path for temp files.

Public Sub SetTempFilePath ( _
    ByVal path As String _
)
public void SetTempFilePath (
    string path
);

Classes that implement ILasWriter

Classes Description
LasWriter Esri LasWriter.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.