| 177 | } |
| 178 | |
| 179 | Expected<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 | |
| 188 | Expected<VertBitSet> OutliersDetector::findWeaklyConnected( ProgressCallback progress /*= {}*/ ) |
| 189 | { |
nothing calls this directly
no test coverage detected