MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / decimateMeshSerial

Function decimateMeshSerial

source/MRMesh/MRMeshDecimate.cpp:993–1004  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991}
992
993static DecimateResult decimateMeshSerial( Mesh & mesh, const DecimateSettings & settings )
994{
995 MR_TIMER;
996 if ( settings.maxDeletedFaces <= 0 || settings.maxDeletedVertices <= 0 )
997 {
998 DecimateResult res;
999 res.cancelled = false;
1000 return res;
1001 }
1002 MeshDecimator md( mesh, settings );
1003 return md.run();
1004}
1005
1006FaceBitSet getSubdividePart( const FaceBitSet & valids, size_t subdivideParts, size_t myPart )
1007{

Callers 2

decimateMeshFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected