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

Go to the source code of this file.

Typedefs

typedef struct MR_LinesLoadSettings MR_LinesLoadSettings
 
typedef struct MR_expected_MR_Polyline3_std_string MR_expected_MR_Polyline3_std_string
 
typedef struct MR_std_istream MR_std_istream
 
typedef struct MR_std_string MR_std_string
 

Functions

MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromMrLines_std_filesystem_path (const char *file, const char *file_end, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromMrLines_std_istream (MR_std_istream *in, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromPts_std_filesystem_path (const char *file, const char *file_end, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromPts_std_istream (MR_std_istream *in, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromPly_std_filesystem_path (const char *file, const char *file_end, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromPly_std_istream (MR_std_istream *in, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromAnySupportedFormat_2 (const char *file, const char *file_end, const MR_LinesLoadSettings *settings)
 
MRC_API MR_expected_MR_Polyline3_std_stringMR_LinesLoad_fromAnySupportedFormat_3 (MR_std_istream *in, const MR_std_string *extension, const MR_LinesLoadSettings *settings)
 

Typedef Documentation

◆ MR_expected_MR_Polyline3_std_string

◆ MR_LinesLoadSettings

◆ MR_std_istream

◆ MR_std_string

typedef struct MR_std_string MR_std_string

Function Documentation

◆ MR_LinesLoad_fromAnySupportedFormat_2()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromAnySupportedFormat_2 ( const char * file,
const char * file_end,
const MR_LinesLoadSettings * settings )

loads polyline from file in the format detected from file extension Generated from function MR::LinesLoad::fromAnySupportedFormat. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromAnySupportedFormat_3()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromAnySupportedFormat_3 ( MR_std_istream * in,
const MR_std_string * extension,
const MR_LinesLoadSettings * settings )

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. Parameter in can not be null. It is a single object. Parameter extension 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromMrLines_std_filesystem_path()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromMrLines_std_filesystem_path ( const char * file,
const char * file_end,
const MR_LinesLoadSettings * settings )

loads polyline from file in internal MeshLib format Generated from function MR::LinesLoad::fromMrLines. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromMrLines_std_istream()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromMrLines_std_istream ( MR_std_istream * in,
const MR_LinesLoadSettings * settings )

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. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromPly_std_filesystem_path()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromPly_std_filesystem_path ( const char * file,
const char * file_end,
const MR_LinesLoadSettings * settings )

loads polyline from file in .PLY format Generated from function MR::LinesLoad::fromPly. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromPly_std_istream()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromPly_std_istream ( MR_std_istream * in,
const MR_LinesLoadSettings * settings )

loads polyline from stream in .PLY format; important on Windows: in stream must be open in binary mode Generated from function MR::LinesLoad::fromPly. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromPts_std_filesystem_path()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromPts_std_filesystem_path ( const char * file,
const char * file_end,
const MR_LinesLoadSettings * settings )

loads polyline from file in .PTS format Generated from function MR::LinesLoad::fromPts. 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_Polyline3_std_string_Destroy() to free it when you're done using it.

◆ MR_LinesLoad_fromPts_std_istream()

MRC_API MR_expected_MR_Polyline3_std_string * MR_LinesLoad_fromPts_std_istream ( MR_std_istream * in,
const MR_LinesLoadSettings * settings )

loads polyline from stream in .PTS format Generated from function MR::LinesLoad::fromPts. 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_Polyline3_std_string_Destroy() to free it when you're done using it.