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

Go to the source code of this file.

Typedefs

typedef struct MR_expected_size_t_std_string MR_expected_size_t_std_string

Functions

MRC_API MR_expected_size_t_std_stringMR_stitchOpenTwinEdges (MR_Mesh *mesh, float tolerance, const MR_std_function_bool_from_float *cb)

Typedef Documentation

◆ MR_expected_size_t_std_string

Stores either a size_t that represents success or a std::string that represents an error. Supported MR_PassBy modes: MR_PassBy_DefaultConstruct, MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).

Function Documentation

◆ MR_stitchOpenTwinEdges()

MRC_API MR_expected_size_t_std_string * MR_stitchOpenTwinEdges ( MR_Mesh * mesh,
float tolerance,
const MR_std_function_bool_from_float * cb )

stitches together open twin edges Generated from function MR::stitchOpenTwinEdges. Parameter mesh can not be null. It is a single object. Parameter cb is a single object. Parameter cb 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_size_t_std_string_Destroy() to free it when you're done using it.