MeshLib C Docs
Loading...
Searching...
No Matches
MRLas.h File Reference
#include <MRCMisc/exports.h>

Go to the source code of this file.

Functions

MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromLas_std_filesystem_path (const char *file, const char *file_end, const MR_PointsLoadSettings *settings)
MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromLas_std_istream (MR_std_istream *in, const MR_PointsLoadSettings *settings)
MRC_API MR_expected_void_std_string * MR_PointsSave_toLas_std_filesystem_path (const MR_PointCloud *points, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_PointsSave_toLas_std_ostream (const MR_PointCloud *points, MR_std_ostream *out, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_PointsSave_toLaz_std_filesystem_path (const MR_PointCloud *points, const char *file, const char *file_end, const MR_SaveSettings *settings)
MRC_API MR_expected_void_std_string * MR_PointsSave_toLaz_std_ostream (const MR_PointCloud *points, MR_std_ostream *out, const MR_SaveSettings *settings)

Function Documentation

◆ MR_PointsLoad_fromLas_std_filesystem_path()

MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromLas_std_filesystem_path ( const char * file,
const char * file_end,
const MR_PointsLoadSettings * settings )

loads from .las file Generated from function MR::PointsLoad::fromLas. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_PointCloud_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsLoad_fromLas_std_istream()

MRC_API MR_expected_MR_PointCloud_std_string * MR_PointsLoad_fromLas_std_istream ( MR_std_istream * in,
const MR_PointsLoadSettings * settings )

Generated from function MR::PointsLoad::fromLas. Parameter in can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_MR_PointCloud_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsSave_toLas_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_PointsSave_toLas_std_filesystem_path ( const MR_PointCloud * points,
const char * file,
const char * file_end,
const MR_SaveSettings * settings )

saves in uncompressed .las file (LAS 1.2, point format 0 or 2 if colors are given); normals are saved as three double extra bytes NormalX, NormalY, NormalZ Generated from function MR::PointsSave::toLas. Parameter points can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsSave_toLas_std_ostream()

MRC_API MR_expected_void_std_string * MR_PointsSave_toLas_std_ostream ( const MR_PointCloud * points,
MR_std_ostream * out,
const MR_SaveSettings * settings )

Generated from function MR::PointsSave::toLas. Parameter points can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsSave_toLaz_std_filesystem_path()

MRC_API MR_expected_void_std_string * MR_PointsSave_toLaz_std_filesystem_path ( const MR_PointCloud * points,
const char * file,
const char * file_end,
const MR_SaveSettings * settings )

saves in compressed .laz file, the same contents as in toLas Generated from function MR::PointsSave::toLaz. Parameter points can not be null. It is a single object. Parameter file is a UTF-8 encoded filesystem path. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.

◆ MR_PointsSave_toLaz_std_ostream()

MRC_API MR_expected_void_std_string * MR_PointsSave_toLaz_std_ostream ( const MR_PointCloud * points,
MR_std_ostream * out,
const MR_SaveSettings * settings )

Generated from function MR::PointsSave::toLaz. Parameter points can not be null. It is a single object. Parameter out can not be null. It is a single object. Parameter settings is a single object. Parameter settings has a default argument: {}, pass a null pointer to use it. Never returns null. Returns an instance allocated on the heap! Must call MR_expected_void_std_string_Destroy() to free it when you're done using it.