Log I/O
LasFileWriter Class Reference

Class for writing LAS files to disk. More...

Public Member Functions

 LasFileWriter (FileInfo file)
 Create a LAS writer for the specified file instance. More...
 
void Write (IList< LasFile > lasFiles)
 Write the specified LAS file instances to file. More...
 
void Write (LasFile lasFile)
 Write the specified LAS file instance to file. More...
 

Static Public Member Functions

static string ToString (LasFile lasFile)
 Create a syntactic correct string representation of the specified LAS file. More...
 

Detailed Description

Class for writing LAS files to disk.

Author
Petroware AS

Constructor & Destructor Documentation

LasFileWriter ( FileInfo  file)

Create a LAS writer for the specified file instance.

Parameters
fileDisk file to write. Non-null.
Exceptions
ArgumentNullExceptionIf file is null.

Member Function Documentation

static string ToString ( LasFile  lasFile)
static

Create a syntactic correct string representation of the specified LAS file.

Parameters
lasFileLAS file to get string representation of. Non-null.
Returns
String representation of the specified LAS file. Never null.
Exceptions
ArgumentNullExceptionIf lasFile is null.
void Write ( IList< LasFile lasFiles)

Write the specified LAS file instances to file.

The instances will be written to the disk file in sequence. Note that only LAS 3.0 supports multiple logical files in one disk file, and if the instances are not LAS 3.0 only the first subfile will be written.

Parameters
lasFilesLAS files to write. Non-null.
Exceptions
ArgumentNullExceptionIf lasFiles is null.
IOExceptionIf the write operation fails for some reason.
void Write ( LasFile  lasFile)

Write the specified LAS file instance to file.

Parameters
lasFileLogical LAS file instance to write. Non-null.
Exceptions
ArgumentNullExceptionIf lasFile is null.
IOExceptionIf the write operation fails for some reason.

The documentation for this class was generated from the following file: