locationtech / jts

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

Fix VariableBuffer to handle zero distances #997

Closed dr-jts closed 1 year ago

dr-jts commented 1 year ago

Fixes the VariableBuffer segment buffer generation to avoid numerical precision issues at vertices with zero buffer distances. Also removes repeated points from generated buffers.

Fixes #995