Skip to content

Commit 88f1d8d

Browse files
committed
Clesn up CoverageGapFinder code
1 parent 6cd8ca3 commit 88f1d8d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

modules/core/src/main/java/org/locationtech/jts/coverage/CoverageGapFinder.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,6 @@ private boolean isGap(LinearRing hole, double maxGapWidth) {
9898
if (maxGapWidth <= 0.0)
9999
return false;
100100

101-
double tolerance = maxGapWidth / 100;
102-
//TODO: improve MIC class to allow short-circuiting when radius is larger than a value
103101
return MaximumInscribedCircle.isRadiusWithin(holePoly, 0.5 * maxGapWidth);
104102
}
105103

0 commit comments

Comments
 (0)