All: Reformat according to new standard

This commit is contained in:
pre-commit-ci[bot]
2025-11-11 13:49:01 +01:00
committed by Kacper Donat
parent eafd18dac0
commit 25c3ba7338
2390 changed files with 154630 additions and 115818 deletions

View File

@@ -86,33 +86,45 @@ void Segmentation::accept()
std::vector<MeshCore::MeshSurfaceSegmentPtr> segm;
if (ui->groupBoxFree->isChecked()) {
segm.emplace_back(
std::make_shared<MeshCore::MeshCurvatureFreeformSegment>(meshCurv.GetCurvature(),
ui->numFree->value(),
ui->tol1Free->value(),
ui->tol2Free->value(),
ui->crv1Free->value(),
ui->crv2Free->value()));
std::make_shared<MeshCore::MeshCurvatureFreeformSegment>(
meshCurv.GetCurvature(),
ui->numFree->value(),
ui->tol1Free->value(),
ui->tol2Free->value(),
ui->crv1Free->value(),
ui->crv2Free->value()
)
);
}
if (ui->groupBoxCyl->isChecked()) {
segm.emplace_back(
std::make_shared<MeshCore::MeshCurvatureCylindricalSegment>(meshCurv.GetCurvature(),
ui->numCyl->value(),
ui->tol1Cyl->value(),
ui->tol2Cyl->value(),
ui->crvCyl->value()));
std::make_shared<MeshCore::MeshCurvatureCylindricalSegment>(
meshCurv.GetCurvature(),
ui->numCyl->value(),
ui->tol1Cyl->value(),
ui->tol2Cyl->value(),
ui->crvCyl->value()
)
);
}
if (ui->groupBoxSph->isChecked()) {
segm.emplace_back(
std::make_shared<MeshCore::MeshCurvatureSphericalSegment>(meshCurv.GetCurvature(),
ui->numSph->value(),
ui->tolSph->value(),
ui->crvSph->value()));
std::make_shared<MeshCore::MeshCurvatureSphericalSegment>(
meshCurv.GetCurvature(),
ui->numSph->value(),
ui->tolSph->value(),
ui->crvSph->value()
)
);
}
if (ui->groupBoxPln->isChecked()) {
segm.emplace_back(
std::make_shared<MeshCore::MeshCurvaturePlanarSegment>(meshCurv.GetCurvature(),
ui->numPln->value(),
ui->tolPln->value()));
std::make_shared<MeshCore::MeshCurvaturePlanarSegment>(
meshCurv.GetCurvature(),
ui->numPln->value(),
ui->tolPln->value()
)
);
}
finder.FindSegments(segm);