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

Method findSmallComponents

source/MRMesh/MROutlierPoints.cpp:179–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179Expected<VertBitSet> OutliersDetector::findSmallComponents( ProgressCallback progress /*= {}*/ )
180{
181 auto largeComponentsRes = PointCloudComponents::getLargeComponentsUnion( unionFindStructure_, validPoints_, params_.maxClusterSize + 1, progress );
182
183 if ( !largeComponentsRes.has_value() )
184 return unexpected( largeComponentsRes.error() );
185 return validPoints_ - *largeComponentsRes;
186}
187
188Expected<VertBitSet> OutliersDetector::findWeaklyConnected( ProgressCallback progress /*= {}*/ )
189{

Callers

nothing calls this directly

Calls 3

getLargeComponentsUnionFunction · 0.85
errorMethod · 0.80
unexpectedFunction · 0.70

Tested by

no test coverage detected