Documentation of the buffer method #917
-
Hi, I am using the buffer(0) method to get rid of self-intersecting geometries(following articles of @dr-jts). So far, it fixes my problem but the method documentation seem to be misleading: org.locationtech.jts.geom.Geometry#buffer(double) "The buffer operation always returns a polygonal result. The negative or zero-distance buffer of lines and points is always an empty Polygon. This is also the result for the buffers of degenerate (zero-area) polygons." According to my observation this is not true. Could someone confirm? Best Regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you think you've found an example which contradicts the documentation, please post it. Also, the relatively new |
Beta Was this translation helpful? Give feedback.
If you think you've found an example which contradicts the documentation, please post it.
Also, the relatively new
GeometryFixer
class is a better way of repairing invalid geometry.