From c7924c0776386fa9085bb7368b584805da66296b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20S=C3=BDkora?= Date: Mon, 12 Oct 2020 11:17:59 +0200 Subject: [PATCH] Fixed javadoc of Geometry.getEnvelope(): polygon vertices order --- .../src/main/java/org/locationtech/jts/geom/Geometry.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java b/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java index 9aa1349c29..8d8e831aff 100644 --- a/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java +++ b/modules/core/src/main/java/org/locationtech/jts/geom/Geometry.java @@ -590,8 +590,8 @@ public Point getInteriorPoint() *
  • a point, returns a Point. *
  • a line parallel to an axis, a two-vertex LineString *
  • otherwise, returns a - * Polygon whose vertices are (minx miny, maxx miny, - * maxx maxy, minx maxy, minx miny). + * Polygon whose vertices are (minx miny, minx maxy, + * maxx maxy, maxx miny, minx miny). * * *@return a Geometry representing the envelope of this Geometry