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
9d8e0e40
Commit
9d8e0e40
authored
Aug 17, 2026
by
Numanoglu
Browse files
Fallback for not sweepable: old healing-Method
parent
bed38f6d
Pipeline
#12430
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorHealer/src/main/java/de/hft/stuttgart/citydoctor2/healing/HealPlanarPolygonSweep.java
View file @
9d8e0e40
...
@@ -12,25 +12,6 @@ public class HealPlanarPolygonSweep implements HealingMethod {
...
@@ -12,25 +12,6 @@ public class HealPlanarPolygonSweep implements HealingMethod {
private
static
final
Logger
logger
=
LogManager
.
getLogger
(
HealPlanarPolygonSweep
.
class
);
private
static
final
Logger
logger
=
LogManager
.
getLogger
(
HealPlanarPolygonSweep
.
class
);
/* todo: in HealPlanarPolygonSweep visit-Methode austauschen
public boolean visit(NonPlanarPolygonDistancePlaneError err, ModificationListener l) {
logger.debug("Executing Repair for NonPlanarPolygonDistancePlaneError");
SweepUtilities utils = new SweepUtilities(err);
todo: Epsilon-Werte setzen
utils.initialize();
if ( utils.calculate() ) {
utils.doHeal();
return true;
}
else {
logger.debug("Repair by Sweep not possible");
return false;
}
}
*/
// DONE
@Override
@Override
public
boolean
visit
(
NonPlanarPolygonDistancePlaneError
err
,
ModificationListener
l
)
{
public
boolean
visit
(
NonPlanarPolygonDistancePlaneError
err
,
ModificationListener
l
)
{
logger
.
debug
(
"Executing Repair for NonPlanarPolygonDistancePlaneError"
);
logger
.
debug
(
"Executing Repair for NonPlanarPolygonDistancePlaneError"
);
...
@@ -56,7 +37,8 @@ public class HealPlanarPolygonSweep implements HealingMethod {
...
@@ -56,7 +37,8 @@ public class HealPlanarPolygonSweep implements HealingMethod {
}
}
logger
.
debug
(
"Repair by Sweep not possible"
);
logger
.
debug
(
"Repair by Sweep not possible"
);
return
false
;
// The old Heal-Method as Fallback
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