locationtech / jts

The JTS Topology Suite is a Java library for creating and manipulating vector geometry.
Other
1.98k stars 443 forks source link

Fix buffer optimization for inverted rings #878

Closed dr-jts closed 2 years ago

dr-jts commented 2 years ago

Fixes the buffer operation heuristic for detecting "inverted rings" (introduced in #706 ). This relaxes an optimization to detect invalid rings in more cases.

Fixes #876

Signed-off-by: Martin Davis mtnclimb@gmail.com