locationtech / jts

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

Improve VariableBuffer segment buffer cap generation #1041

Closed dr-jts closed 6 months ago

dr-jts commented 6 months ago

Improve generation of VariableBuffer segment buffer caps. This eliminates "reverse spikes" and short segments that can be caused by the interaction of the tangent lines and fixed-angle cap segments. Reverse spikes can cause incorrect holes in generated buffer polygons (e.g. see #998).

Fixes #998.