MeshLib C++ Docs
Loading...
Searching...
No Matches
MRMeshRelax.h File Reference
#include "MRMeshFwd.h"
#include "MRRelaxParams.h"

Go to the source code of this file.

Functions

MR_EXTERN_C_BEGIN MRMESHC_API bool mrRelax (MRMesh *mesh, const MRRelaxParams *params, MRProgressCallback *cb)
 

Function Documentation

◆ mrRelax()

MR_EXTERN_C_BEGIN MRMESHC_API bool mrRelax ( MRMesh * mesh,
const MRRelaxParams * params,
MRProgressCallback * cb )

applies given number of relaxation iterations to the whole mesh ( or some region if it is specified )

Returns
true if was finished successfully, false if was interrupted by progress callback