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

Go to the source code of this file.

Typedefs

typedef struct MR_DistanceMap MR_DistanceMap
 
typedef struct MR_DistanceMapSaveSettings MR_DistanceMapSaveSettings
 
typedef struct MR_expected_void_std_string MR_expected_void_std_string
 

Functions

MRC_API MR_expected_void_std_stringMR_DistanceMapSave_toRAW (const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
 Save DistanceMap to binary file Format: 2 integer - DistanceMap.resX & DistanceMap.resY [resX * resY] float - matrix of values.
 
MRC_API MR_expected_void_std_stringMR_DistanceMapSave_toMrDistanceMap (const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
 
MRC_API MR_expected_void_std_stringMR_DistanceMapSave_toAnySupportedFormat (const MR_DistanceMap *dmap, const char *path, const char *path_end, const MR_DistanceMapSaveSettings *settings)
 

Typedef Documentation

◆ MR_DistanceMap

◆ MR_DistanceMapSaveSettings

◆ MR_expected_void_std_string

Function Documentation

◆ MR_DistanceMapSave_toAnySupportedFormat()

MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toAnySupportedFormat ( const MR_DistanceMap * dmap,
const char * path,
const char * path_end,
const MR_DistanceMapSaveSettings * settings )

Generated from function MR::DistanceMapSave::toAnySupportedFormat. Parameter dmap can not be null. It is a single object. Parameter path 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_DistanceMapSave_toMrDistanceMap()

MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toMrDistanceMap ( const MR_DistanceMap * dmap,
const char * path,
const char * path_end,
const MR_DistanceMapSaveSettings * settings )

Generated from function MR::DistanceMapSave::toMrDistanceMap. Parameter dmap can not be null. It is a single object. Parameter path 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_DistanceMapSave_toRAW()

MRC_API MR_expected_void_std_string * MR_DistanceMapSave_toRAW ( const MR_DistanceMap * dmap,
const char * path,
const char * path_end,
const MR_DistanceMapSaveSettings * settings )

Save DistanceMap to binary file Format: 2 integer - DistanceMap.resX & DistanceMap.resY [resX * resY] float - matrix of values.

Generated from function MR::DistanceMapSave::toRAW. Parameter dmap can not be null. It is a single object. Parameter path 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.