MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.PointsSave Class Reference

Classes

class  ConstCtmSavePointsOptions
class  CtmSavePointsOptions

Static Public Member Functions

None toAnySupportedFormat (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toAnySupportedFormat (ConstPointCloud points, str extension, typing.Any out, ConstSaveSettings settings=...)
None toAsc (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toAsc (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toCtm (ConstPointCloud points, os.PathLike|str|bytes file, PointsSave.ConstCtmSavePointsOptions options)
None toCtm (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toCtm (ConstPointCloud points, typing.Any out, PointsSave.ConstCtmSavePointsOptions options)
None toCtm (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toDrc (ConstPointCloud points, os.PathLike|str|bytes file, ConstDracoSaveOptions options)
None toDrc (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toDrc (ConstPointCloud points, typing.Any out, ConstDracoSaveOptions options)
None toDrc (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toLas (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toLas (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toLaz (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toLaz (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toPly (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toPly (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toXyz (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toXyz (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)
None toXyzn (ConstPointCloud points, os.PathLike|str|bytes file, ConstSaveSettings settings=...)
None toXyzn (ConstPointCloud points, typing.Any out, ConstSaveSettings settings=...)

Detailed Description

This is a namespace.

Member Function Documentation

◆ toAnySupportedFormat() [1/2]

None mrmeshpy.PointsSave.toAnySupportedFormat ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
detects the format from file extension and save points to it

◆ toAnySupportedFormat() [2/2]

None mrmeshpy.PointsSave.toAnySupportedFormat ( ConstPointCloud points,
str extension,
typing.Any out,
ConstSaveSettings settings = ... )
static
extension in `*.ext` format

◆ toAsc() [1/2]

None mrmeshpy.PointsSave.toAsc ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
save points with normals in .xyzn format, and save points without normals in .xyz format

◆ toAsc() [2/2]

None mrmeshpy.PointsSave.toAsc ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toCtm() [1/4]

None mrmeshpy.PointsSave.toCtm ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static

◆ toCtm() [2/4]

None mrmeshpy.PointsSave.toCtm ( ConstPointCloud points,
os.PathLike | str | bytes file,
PointsSave.ConstCtmSavePointsOptions options )
static
saves in .ctm file

◆ toCtm() [3/4]

None mrmeshpy.PointsSave.toCtm ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toCtm() [4/4]

None mrmeshpy.PointsSave.toCtm ( ConstPointCloud points,
typing.Any out,
PointsSave.ConstCtmSavePointsOptions options )
static

◆ toDrc() [1/4]

None mrmeshpy.PointsSave.toDrc ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstDracoSaveOptions options )
static
saves in Google Draco .drc file

◆ toDrc() [2/4]

None mrmeshpy.PointsSave.toDrc ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static

◆ toDrc() [3/4]

None mrmeshpy.PointsSave.toDrc ( ConstPointCloud points,
typing.Any out,
ConstDracoSaveOptions options )
static

◆ toDrc() [4/4]

None mrmeshpy.PointsSave.toDrc ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toLas() [1/2]

None mrmeshpy.PointsSave.toLas ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
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

◆ toLas() [2/2]

None mrmeshpy.PointsSave.toLas ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toLaz() [1/2]

None mrmeshpy.PointsSave.toLaz ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
saves in compressed .laz file, the same contents as in toLas

◆ toLaz() [2/2]

None mrmeshpy.PointsSave.toLaz ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toPly() [1/2]

None mrmeshpy.PointsSave.toPly ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
saves in .ply file

◆ toPly() [2/2]

None mrmeshpy.PointsSave.toPly ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toXyz() [1/2]

None mrmeshpy.PointsSave.toXyz ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
save points without normals in textual .xyz file;
each output line contains [x, y, z], where x, y, z are point coordinates

◆ toXyz() [2/2]

None mrmeshpy.PointsSave.toXyz ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

◆ toXyzn() [1/2]

None mrmeshpy.PointsSave.toXyzn ( ConstPointCloud points,
os.PathLike | str | bytes file,
ConstSaveSettings settings = ... )
static
save points with normals in textual .xyzn file;
each output line contains [x, y, z, nx, ny, nz], where x, y, z are point coordinates and nx, ny, nz are the components of point normal

◆ toXyzn() [2/2]

None mrmeshpy.PointsSave.toXyzn ( ConstPointCloud points,
typing.Any out,
ConstSaveSettings settings = ... )
static

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