Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
760147a4
Commit
760147a4
authored
Sep 10, 2026
by
Matthias Betz
Browse files
integrate sweep healing
parent
cee9e1ef
Pipeline
#12441
passed with stage
in 2 minutes and 31 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/MainWindow.java
View file @
760147a4
...
@@ -818,8 +818,8 @@ public class MainWindow extends Application {
...
@@ -818,8 +818,8 @@ public class MainWindow extends Application {
MenuItem deleteOption = new MenuItem(Localization.getText("MainWindow.delete"));
MenuItem deleteOption = new MenuItem(Localization.getText("MainWindow.delete"));
deleteOption.setOnAction(ae -> controller.delete(featureView.getSelectionModel().getSelectedItem()));
deleteOption.setOnAction(ae -> controller.delete(featureView.getSelectionModel().getSelectedItem()));
menu.getItems().add(deleteOption);
menu.getItems().add(deleteOption);
featureView.setContextMenu(menu);
*/
*/
featureView
.
setContextMenu
(
menu
);
}
}
public
void
fetchCopyAction
(
Renderable
node
)
{
public
void
fetchCopyAction
(
Renderable
node
)
{
...
...
CityDoctorParent/Extensions/CityDoctorHealer/src/main/java/de/hft/stuttgart/citydoctor2/healer/HealingMethods.java
View file @
760147a4
...
@@ -12,6 +12,7 @@ import de.hft.stuttgart.citydoctor2.healing.HealMainBuilding;
...
@@ -12,6 +12,7 @@ import de.hft.stuttgart.citydoctor2.healing.HealMainBuilding;
import
de.hft.stuttgart.citydoctor2.healing.HealMissingSolid
;
import
de.hft.stuttgart.citydoctor2.healing.HealMissingSolid
;
import
de.hft.stuttgart.citydoctor2.healing.HealNonManifoldEdgeError
;
import
de.hft.stuttgart.citydoctor2.healing.HealNonManifoldEdgeError
;
import
de.hft.stuttgart.citydoctor2.healing.HealPlanarPolygonError
;
import
de.hft.stuttgart.citydoctor2.healing.HealPlanarPolygonError
;
import
de.hft.stuttgart.citydoctor2.healing.HealPlanarPolygonSweep
;
import
de.hft.stuttgart.citydoctor2.healing.HealPolygonWithoutSurface
;
import
de.hft.stuttgart.citydoctor2.healing.HealPolygonWithoutSurface
;
import
de.hft.stuttgart.citydoctor2.healing.HealPolygonWrongOrientationError
;
import
de.hft.stuttgart.citydoctor2.healing.HealPolygonWrongOrientationError
;
import
de.hft.stuttgart.citydoctor2.healing.HealRingNotClosedError
;
import
de.hft.stuttgart.citydoctor2.healing.HealRingNotClosedError
;
...
@@ -37,6 +38,7 @@ public class HealingMethods {
...
@@ -37,6 +38,7 @@ public class HealingMethods {
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealTooFewPoints
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealTooFewPoints
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealRingNotClosedError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealRingNotClosedError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealRingSelfIntError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealRingSelfIntError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealPlanarPolygonSweep
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealPlanarPolygonError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealPlanarPolygonError
()));
// healingMethods.add(HealingMethodPrototype.of(new HealPlanarPolygonCpp()));
// healingMethods.add(HealingMethodPrototype.of(new HealPlanarPolygonCpp()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealSameOrientationError
()));
healingMethods
.
add
(
HealingMethodPrototype
.
of
(
new
HealSameOrientationError
()));
...
...
CityDoctorParent/Extensions/CityDoctorHealer/src/main/java/de/hft/stuttgart/citydoctor2/healing/HealPlanarPolygonSweep.java
View file @
760147a4
...
@@ -37,8 +37,7 @@ public class HealPlanarPolygonSweep implements HealingMethod {
...
@@ -37,8 +37,7 @@ public class HealPlanarPolygonSweep implements HealingMethod {
}
}
logger
.
debug
(
"Repair by Sweep not possible"
);
logger
.
debug
(
"Repair by Sweep not possible"
);
// The old Heal-Method as Fallback
return
false
;
return
new
HealPlanarPolygonError
().
visit
(
err
,
l
);
}
}
@Override
@Override
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment