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

Go to the source code of this file.

Functions

MRC_API void MR_filterCreaseEdges (const MR_Mesh *mesh, MR_UndirectedEdgeBitSet *creaseEdges, float critLength, const bool *filterComponents, const bool *filterBranches)

Function Documentation

◆ MR_filterCreaseEdges()

MRC_API void MR_filterCreaseEdges ( const MR_Mesh * mesh,
MR_UndirectedEdgeBitSet * creaseEdges,
float critLength,
const bool * filterComponents,
const bool * filterBranches )

filters given edges using the following criteria: if filterComponents is true then connected components with summary length of their edges less than critLength will be excluded if filterBranches is true then branches shorter than critLength will be excluded Generated from function MR::filterCreaseEdges. Parameter mesh can not be null. It is a single object. Parameter creaseEdges can not be null. It is a single object. Parameter filterComponents has a default argument: true, pass a null pointer to use it. Parameter filterBranches has a default argument: false, pass a null pointer to use it.