MeshLib C++ Docs
Loading...
Searching...
No Matches
MRLas.h File Reference
#include "config.h"
#include "exports.h"
#include <MRMesh/MRExpected.h>
#include <MRMesh/MRPointsLoadSettings.h>
#include <MRMesh/MRSaveSettings.h>
#include <filesystem>

Go to the source code of this file.

Namespaces

namespace  MR
 Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
namespace  MR::PointsLoad
namespace  MR::PointsSave

Functions

Expected< PointCloud > MR::PointsLoad::fromLas (const std::filesystem::path &file, const PointsLoadSettings &settings={})
 loads from .las file
Expected< PointCloud > MR::PointsLoad::fromLas (std::istream &in, const PointsLoadSettings &settings={})
Expected< void > MR::PointsSave::toLas (const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
Expected< void > MR::PointsSave::toLas (const PointCloud &points, std::ostream &out, const SaveSettings &settings={})
Expected< void > MR::PointsSave::toLaz (const PointCloud &points, const std::filesystem::path &file, const SaveSettings &settings={})
 saves in compressed .laz file, the same contents as in toLas
Expected< void > MR::PointsSave::toLaz (const PointCloud &points, std::ostream &out, const SaveSettings &settings={})