From b4f29f953e4c3386def91878c4502e94435b9f19 Mon Sep 17 00:00:00 2001 From: Mike Barry Date: Fri, 24 Feb 2023 13:02:11 -0500 Subject: [PATCH] javadoc --- .../java/com/onthegomap/planetiler/render/TiledGeometry.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/planetiler-core/src/main/java/com/onthegomap/planetiler/render/TiledGeometry.java b/planetiler-core/src/main/java/com/onthegomap/planetiler/render/TiledGeometry.java index 325b3656..e758b2f7 100644 --- a/planetiler-core/src/main/java/com/onthegomap/planetiler/render/TiledGeometry.java +++ b/planetiler-core/src/main/java/com/onthegomap/planetiler/render/TiledGeometry.java @@ -192,6 +192,7 @@ public class TiledGeometry { * @param z zoom level * @param extents range of tile coordinates within the bounds of the map to generate * @return each tile this feature touches, and the points that appear on each + * @throws GeometryException for a polygon that is invalid in a way that interferes with clipping */ static TiledGeometry sliceIntoTiles(List> groups, double buffer, boolean area, int z, TileExtents.ForZoom extents) throws GeometryException { @@ -325,6 +326,7 @@ public class TiledGeometry { * content that wraps too far west) * @return {@link Direction#LEFT} if there is more content to the west and {@link Direction#RIGHT} if there is more * content to the east. + * @throws GeometryException for a polygon that is invalid in a way that interferes with clipping */ private EnumSet sliceWorldCopy(List> groups, int xOffset) throws GeometryException {