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

Go to the source code of this file.

Functions

MRC_API MR_FaceBitSetMR_patchMesh (MR_Mesh *mesh, const MR_FaceBitSet *patchBS, const MR_FillHoleNicelySettings *settings)

Function Documentation

◆ MR_patchMesh()

MRC_API MR_FaceBitSet * MR_patchMesh ( MR_Mesh * mesh,
const MR_FaceBitSet * patchBS,
const MR_FillHoleNicelySettings * settings )

removes

Parameters
patchBSfrom
meshand fills it with new triangulation using \params settings if 'settings.subdivideSettings.maxEdgeLen' <= 0 uses patch boundary average edge length * 1.5f returns new faces Generated from function MR::patchMesh. Parameter mesh can not be null. It is a single object. Parameter patchBS 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_FaceBitSet_Destroy() to free it when you're done using it.