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.

Typedefs

typedef struct MR_Mesh MR_Mesh
 
typedef struct MR_UndirectedEdgeBitSet MR_UndirectedEdgeBitSet
 

Functions

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

Typedef Documentation

◆ MR_Mesh

typedef struct MR_Mesh MR_Mesh

◆ MR_UndirectedEdgeBitSet

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

Parameters
filterComponentsis true then connected components with summary length of their edges less than
critLengthwill be excluded if
filterBranchesis true then branches shorter than
critLengthwill 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.