MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.linesload.Functions Class Reference

Static Public Member Functions

static meshlib.Polyline3 fromMrLines (java.lang.String file, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromMrLines (meshlib.std_istream in, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromPts (java.lang.String file, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromPts (meshlib.std_istream in, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromPly (java.lang.String file, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromPly (meshlib.std_istream in, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromAnySupportedFormat (java.lang.String file, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromAnySupportedFormat (meshlib.std_istream in, java.lang.String extension, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromSvg (java.lang.String file, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromSvg (meshlib.std_istream in, meshlib.LinesLoadSettings settings)
static meshlib.Polyline3 fromSvg (java.lang.Byte data, long size, meshlib.LinesLoadSettings settings)

Detailed Description

The free functions of this namespace.

Member Function Documentation

◆ fromAnySupportedFormat() [1/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromAnySupportedFormat ( java.lang.String file,
meshlib.LinesLoadSettings settings )
static

loads polyline from file in the format detected from file extension Generated from function MR::LinesLoad::fromAnySupportedFormat.

Calls MR_LinesLoad_fromAnySupportedFormat_2(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromAnySupportedFormat() [2/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromAnySupportedFormat ( meshlib.std_istream in,
java.lang.String extension,
meshlib.LinesLoadSettings settings )
static

loads polyline from stream in the format detected from given extension-string (*.ext); important on Windows: in stream must be open in binary mode Generated from function MR::LinesLoad::fromAnySupportedFormat.

Calls MR_LinesLoad_fromAnySupportedFormat_3(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromMrLines() [1/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromMrLines ( java.lang.String file,
meshlib.LinesLoadSettings settings )
static

loads polyline from file in internal MeshLib format Generated from function MR::LinesLoad::fromMrLines.

Calls MR_LinesLoad_fromMrLines_std_filesystem_path(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromMrLines() [2/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromMrLines ( meshlib.std_istream in,
meshlib.LinesLoadSettings settings )
static

loads polyline from stream in internal MeshLib format; important on Windows: in stream must be open in binary mode Generated from function MR::LinesLoad::fromMrLines.

Calls MR_LinesLoad_fromMrLines_std_istream(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromPly() [1/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromPly ( java.lang.String file,
meshlib.LinesLoadSettings settings )
static

loads polyline from file in .PLY format Generated from function MR::LinesLoad::fromPly.

Calls MR_LinesLoad_fromPly_std_filesystem_path(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromPly() [2/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromPly ( meshlib.std_istream in,
meshlib.LinesLoadSettings settings )
static

loads polyline from stream in .PLY format; important on Windows: in stream must be open in binary mode Generated from function MR::LinesLoad::fromPly.

Calls MR_LinesLoad_fromPly_std_istream(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromPts() [1/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromPts ( java.lang.String file,
meshlib.LinesLoadSettings settings )
static

loads polyline from file in .PTS format Generated from function MR::LinesLoad::fromPts.

Calls MR_LinesLoad_fromPts_std_filesystem_path(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromPts() [2/2]

meshlib.Polyline3 meshlib.linesload.Functions.fromPts ( meshlib.std_istream in,
meshlib.LinesLoadSettings settings )
static

loads polyline from stream in .PTS format Generated from function MR::LinesLoad::fromPts.

Calls MR_LinesLoad_fromPts_std_istream(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromSvg() [1/3]

meshlib.Polyline3 meshlib.linesload.Functions.fromSvg ( java.lang.Byte data,
long size,
meshlib.LinesLoadSettings settings )
static

Generated from function MR::LinesLoad::fromSvg.

Calls MR_LinesLoad_fromSvg_3(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromSvg() [2/3]

meshlib.Polyline3 meshlib.linesload.Functions.fromSvg ( java.lang.String file,
meshlib.LinesLoadSettings settings )
static

loads shapes (polylines, paths, etc.) from file in .SVG format Generated from function MR::LinesLoad::fromSvg.

Calls MR_LinesLoad_fromSvg_2_std_filesystem_path(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.

◆ fromSvg() [3/3]

meshlib.Polyline3 meshlib.linesload.Functions.fromSvg ( meshlib.std_istream in,
meshlib.LinesLoadSettings settings )
static

Generated from function MR::LinesLoad::fromSvg.

Calls MR_LinesLoad_fromSvg_2_std_istream(). The C++ function returns expected<MR::Polyline3, std::string>: the value is returned and an error is thrown as UnexpectedResultException.


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