Skip to content

Commit

Permalink
Add Offset Curve test
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts committed Dec 19, 2024
1 parent f1aaf7d commit 994f309
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,15 @@ public void testMitreJoinSingleLine() {
);
}

// See https://github.com/libgeos/geos/issues/1037
public void testMitreJoinNegDistance() {
checkOffsetCurve(
"LINESTRING (0 0, 10 0, 10 10, 0 10, 0 0)",
-1, 0, BufferParameters.JOIN_MITRE, 5,
"LINESTRING (-1 -1, 11 -1, 11 11, -1 11, -1 -1)"
);
}

//=======================================

private static final double EQUALS_TOL = 0.05;
Expand Down

0 comments on commit 994f309

Please sign in to comment.