"...neqmodplus-steinbeis0.git" did not exist on "340308dc9ea8e320eac6fdc980e8246b3df6c9ac"
Commit a8e98685 authored by Luna Riegel's avatar Luna Riegel
Browse files

Fix: Use search radius for pre-filtering

parent 71e6fba4
...@@ -121,7 +121,7 @@ public class MisalignedUtilityConnectionCheck extends Check { ...@@ -121,7 +121,7 @@ public class MisalignedUtilityConnectionCheck extends Check {
} }
private void checkUtilityLinesConnections(CityObject subject){ private void checkUtilityLinesConnections(CityObject subject){
Collection<CityObject> candidates = cache.getCandidates(subject, epsilon); Collection<CityObject> candidates = cache.getCandidates(subject, searchRadius);
if (candidates.isEmpty()) { if (candidates.isEmpty()) {
FloatingUtilityError err = new FloatingUtilityError(subject, subject.getHighestLodGeometry()); FloatingUtilityError err = new FloatingUtilityError(subject, subject.getHighestLodGeometry());
subject.addCheckResult(new CheckResult(this, ResultStatus.ERROR, err)); subject.addCheckResult(new CheckResult(this, ResultStatus.ERROR, err));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment