setTLS: Reset or create a LAS object depending on the input's type
Description
Reset the input's header if it is a LAS object, or generate a new LAS from a table-like input. For more information, checkout the lidR::LAS description page.
Usage
setTLS(cloud, colNames = NULL)
Arguments
cloud
LAS, data.frame, matrix or similar object to be converted or reset.
colNames
optional - character vector. Only used for table-like files. It states the column names - if not set, only the 3 first columns will be converted to XYZ.