Apache Solr open-source search software
LUCENE-7056: Geo3D package re-org
David Smileyf7f81c3284cb
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex 5e717d476eb..65281b59160 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -133,6 +133,8 @@ API Changes* LUCENE-7072: Geo3DPoint always uses WGS84 planet model.(Robert Muir, Mike McCandless)+* LUCENE-7056: Geo3D classes are in different packages now. (David Smiley)+Optimizations* LUCENE-6891: Use prefix coding when writing points indiff --git a/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java b/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.javaindex 518fb32b4f1..9fa6d8e5d5f 100644--- a/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java+++ b/lucene/spatial-extras/src/java/org/apache/lucene/spatial/spatial4j/Geo3dShape.java@@ -23,12 +23,12 @@ import org.locationtech.spatial4j.shape.Rectangle;import org.locationtech.spatial4j.shape.Shape;import org.locationtech.spatial4j.shape.SpatialRelation;import org.locationtech.spatial4j.shape.impl.RectangleImpl;-import org.apache.lucene.geo3d.LatLonBounds;-import org.apache.lucene.geo3d.GeoArea;-import org.apache.lucene.geo3d.GeoAreaFactory;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.GeoShape;-import org.apache.lucene.geo3d.PlanetModel;+import org.apache.lucene.spatial3d.geom.LatLonBounds;+import org.apache.lucene.spatial3d.geom.GeoArea;+import org.apache.lucene.spatial3d.geom.GeoAreaFactory;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;/*** A Spatial4j Shape wrapping a {@link GeoShape} ("Geo3D") -- a 3D planar geometry based Spatial4j Shape implementation.diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.javaindex d26bb29a597..e62b857faeb 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dRptTest.java@@ -32,13 +32,13 @@ import org.apache.lucene.spatial.prefix.tree.GeohashPrefixTree;import org.apache.lucene.spatial.prefix.tree.SpatialPrefixTree;import org.apache.lucene.spatial.query.SpatialOperation;import org.apache.lucene.spatial.serialized.SerializedDVStrategy;-import org.apache.lucene.geo3d.GeoBBoxFactory;-import org.apache.lucene.geo3d.GeoStandardCircle;-import org.apache.lucene.geo3d.GeoPath;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.GeoPolygonFactory;-import org.apache.lucene.geo3d.GeoShape;-import org.apache.lucene.geo3d.PlanetModel;+import org.apache.lucene.spatial3d.geom.GeoBBoxFactory;+import org.apache.lucene.spatial3d.geom.GeoStandardCircle;+import org.apache.lucene.spatial3d.geom.GeoPath;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoPolygonFactory;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.junit.Test;import static org.locationtech.spatial4j.distance.DistanceUtils.DEGREES_TO_RADIANS;diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.javaindex 134b8c75366..d58985f4c55 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeRectRelationTestCase.java@@ -25,15 +25,15 @@ import org.locationtech.spatial4j.distance.DistanceUtils;import org.locationtech.spatial4j.shape.Circle;import org.locationtech.spatial4j.shape.Point;import org.locationtech.spatial4j.shape.RectIntersectionTestHelper;-import org.apache.lucene.geo3d.LatLonBounds;-import org.apache.lucene.geo3d.GeoBBox;-import org.apache.lucene.geo3d.GeoBBoxFactory;-import org.apache.lucene.geo3d.GeoStandardCircle;-import org.apache.lucene.geo3d.GeoPath;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.GeoPolygonFactory;-import org.apache.lucene.geo3d.GeoShape;-import org.apache.lucene.geo3d.PlanetModel;+import org.apache.lucene.spatial3d.geom.LatLonBounds;+import org.apache.lucene.spatial3d.geom.GeoBBox;+import org.apache.lucene.spatial3d.geom.GeoBBoxFactory;+import org.apache.lucene.spatial3d.geom.GeoStandardCircle;+import org.apache.lucene.spatial3d.geom.GeoPath;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoPolygonFactory;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.junit.Rule;import org.junit.Test;diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.javaindex 2d958231e6d..3bce480fe52 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeSphereModelRectRelationTest.java@@ -20,14 +20,14 @@ import java.util.ArrayList;import java.util.List;import org.locationtech.spatial4j.shape.Rectangle;-import org.apache.lucene.geo3d.GeoArea;-import org.apache.lucene.geo3d.GeoBBox;-import org.apache.lucene.geo3d.GeoBBoxFactory;-import org.apache.lucene.geo3d.GeoStandardCircle;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.GeoPolygonFactory;-import org.apache.lucene.geo3d.GeoShape;-import org.apache.lucene.geo3d.PlanetModel;+import org.apache.lucene.spatial3d.geom.GeoArea;+import org.apache.lucene.spatial3d.geom.GeoBBox;+import org.apache.lucene.spatial3d.geom.GeoBBoxFactory;+import org.apache.lucene.spatial3d.geom.GeoStandardCircle;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoPolygonFactory;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.junit.Test;public class Geo3dShapeSphereModelRectRelationTest extends Geo3dShapeRectRelationTestCase {diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.javaindex 3b026c36a74..b59d7df50a9 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java+++ b/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/Geo3dShapeWGS84ModelRectRelationTest.java@@ -16,14 +16,14 @@*/package org.apache.lucene.spatial.spatial4j;-import org.apache.lucene.geo3d.GeoArea;-import org.apache.lucene.geo3d.GeoBBox;-import org.apache.lucene.geo3d.GeoBBoxFactory;-import org.apache.lucene.geo3d.GeoCircle;-import org.apache.lucene.geo3d.GeoStandardCircle;-import org.apache.lucene.geo3d.GeoPath;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.PlanetModel;+import org.apache.lucene.spatial3d.geom.GeoArea;+import org.apache.lucene.spatial3d.geom.GeoBBox;+import org.apache.lucene.spatial3d.geom.GeoBBoxFactory;+import org.apache.lucene.spatial3d.geom.GeoCircle;+import org.apache.lucene.spatial3d.geom.GeoStandardCircle;+import org.apache.lucene.spatial3d.geom.GeoPath;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.junit.Test;public class Geo3dShapeWGS84ModelRectRelationTest extends Geo3dShapeRectRelationTestCase {diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DPoint.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DPoint.javasimilarity index 95%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DPoint.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DPoint.javaindex cde87f3c77b..cd2c79a15d0 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DPoint.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DPoint.java@@ -14,14 +14,16 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d;import org.apache.lucene.document.Field;import org.apache.lucene.document.FieldType;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.apache.lucene.search.Query;import org.apache.lucene.util.BytesRef;import org.apache.lucene.util.NumericUtils;-import org.apache.lucene.util.RamUsageEstimator;/*** Add this to a document to index lat/lon or x/y/z point, indexed as a 3D point.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DUtil.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DUtil.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DUtil.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DUtil.javaindex 34880a139ee..0a0bf30039c 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Geo3DUtil.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/Geo3DUtil.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d;class Geo3DUtil {diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PointInGeo3DShapeQuery.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInGeo3DShapeQuery.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/PointInGeo3DShapeQuery.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInGeo3DShapeQuery.javaindex 9e2132d680d..9df8752b135 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PointInGeo3DShapeQuery.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/PointInGeo3DShapeQuery.java@@ -14,10 +14,15 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d;import java.io.IOException;+import org.apache.lucene.spatial3d.geom.BasePlanetObject;+import org.apache.lucene.spatial3d.geom.GeoArea;+import org.apache.lucene.spatial3d.geom.GeoAreaFactory;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;import org.apache.lucene.index.PointValues.IntersectVisitor;import org.apache.lucene.index.PointValues;import org.apache.lucene.index.PointValues.Relation;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/ArcDistance.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/ArcDistance.javaindex c49fd1fe1ca..bb60be07b71 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/ArcDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/ArcDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Arc distance computation style.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BasePlanetObject.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BasePlanetObject.javaindex c64b974fd1f..5cd5acca8ae 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BasePlanetObject.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BasePlanetObject.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** All Geo3D shapes can derive from this base class, which furnishesdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BaseXYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BaseXYZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/BaseXYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BaseXYZSolid.javaindex 52bd5da6209..16b52ccee75 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/BaseXYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/BaseXYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Base class of a family of 3D rectangles, bounded on six sides by X,Y,Z limitsdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Bounds.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Bounds.javaindex 67172205f9b..4f7c6630988 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Bounds.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Bounds.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** An interface for accumulating bounds information.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/DistanceStyle.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/DistanceStyle.javaindex 28056cb1841..8c8658dda66 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/DistanceStyle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/DistanceStyle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Distance computation styles, supporting various ways of computingdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoArea.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoArea.javaindex 424e494ec14..5a6db0da676 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoArea.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoArea.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** A GeoArea represents a standard 2-D breakdown of a part of sphere. It candiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoAreaFactory.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoAreaFactory.javaindex 24dd211f1f2..0c3caa99439 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoAreaFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoAreaFactory.java@@ -14,10 +14,10 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/**- * Factory for {@link org.apache.lucene.geo3d.GeoArea}.+ * Factory for {@link GeoArea}.** @lucene.experimental*/diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBox.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBox.javaindex 10a2388e955..0ae242592d6 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBox.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBox.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** All bounding box shapes have this interface in common.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBoxFactory.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBoxFactory.javaindex 9a02ab9d28e..de7493e5c50 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBBoxFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBBoxFactory.java@@ -14,10 +14,10 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/**- * Factory for {@link org.apache.lucene.geo3d.GeoBBox}.+ * Factory for {@link GeoBBox}.** @lucene.experimental*/diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseBBox.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseBBox.javaindex f40a0a14215..7190cdccff1 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseBBox.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseBBox.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** All bounding box shapes can derive from this base class, which furnishesdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseCircle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseCircle.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseCircle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseCircle.javaindex 8c306d7ac4c..75219fd3d32 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseCircle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseCircle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** GeoCircles have all the characteristics of GeoBaseDistanceShapes, plus GeoSizeable.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseDistanceShape.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseDistanceShape.javaindex 1c8306adb4a..39dcf9616ad 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseDistanceShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseDistanceShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Distance shapes have capabilities of both geohashing and distancediff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseMembershipShape.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseMembershipShape.javaindex a6bba8f4063..831a7c6af9e 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseMembershipShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Membership shapes have capabilities of both geohashing and membershipdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBasePolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBasePolygon.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBasePolygon.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBasePolygon.javaindex 50ad0dcc9ca..ba221ae8853 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBasePolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBasePolygon.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** GeoBasePolygon objects are the base class of most GeoPolygon objects.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseShape.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseShape.javaindex 146cfe85714..54896fc67f3 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoBaseShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoBaseShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Base extended shape object.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircle.javasimilarity index 95%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircle.javaindex 154cdc4c084..b05dff6af6c 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Interface describing circular area with a center and radius.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircleFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircleFactory.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircleFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircleFactory.javaindex 2bb8ffc97fa..ee75179eb99 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCircleFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCircleFactory.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Class which constructs a GeoCircle representing an arbitrary circle.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeMembershipShape.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeMembershipShape.javaindex 25bdda096a1..9747edad6fa 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositeMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositeMembershipShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.List;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositePolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositePolygon.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositePolygon.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositePolygon.javaindex b537590658b..920d3fb9db4 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoCompositePolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoCompositePolygon.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** GeoCompositePolygon is a specific implementation of GeoMembershipShape, which implements GeoPolygon explicitly.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.javaindex fc07c4bb4ad..fb024b6efee 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoConvexPolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.BitSet;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateHorizontalLine.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateHorizontalLine.javaindex 6644f0db2b8..b7de0c2106a 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateHorizontalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateHorizontalLine.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Degenerate bounding box limited on two sides (left lon, right lon).diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLatitudeZone.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLatitudeZone.javaindex 48907338914..e79412312b5 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLatitudeZone.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This GeoBBox represents an area rectangle of one specific latitude withdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLongitudeSlice.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLongitudeSlice.javaindex b5eb90237de..0bb7b90dfc2 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateLongitudeSlice.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Degenerate longitude slice.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePoint.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePoint.javaindex 63670d7f83b..fcd20371004 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegeneratePoint.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegeneratePoint.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This class represents a degenerate point bounding box.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateVerticalLine.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateVerticalLine.javaindex f21f7747d04..dff53b4aa1d 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDegenerateVerticalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDegenerateVerticalLine.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Degenerate bounding box limited on two sides (top lat, bottom lat).diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistance.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistance.javaindex 899a687b431..d41dd514647 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** An implementer of this interface is capable of computing the described "distance" values,diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistanceShape.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistanceShape.javaindex 1e82f482825..e7b0348c185 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoDistanceShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoDistanceShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Distance shapes have capabilities of both geohashing and distancediff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLatitudeZone.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLatitudeZone.javaindex 3fc4423ec24..912ca3205f8 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLatitudeZone.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This GeoBBox represents an area rectangle limited only in latitude.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLongitudeSlice.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLongitudeSlice.javaindex f5de7e766c8..458cf8bef5b 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoLongitudeSlice.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box limited on left and right.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoMembershipShape.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoMembershipShape.javaindex 54b25513c55..2c479714ec3 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoMembershipShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoMembershipShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Membership shapes have capabilities of both geohashing and membershipdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthLatitudeZone.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthLatitudeZone.javaindex 43338bbd688..2c940618f3f 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthLatitudeZone.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This GeoBBox represents an area rectangle limited only in south latitude.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthRectangle.javaindex 66b9480d681..a2b6f1b9c8c 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoNorthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoNorthRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box limited on three sides (bottom lat, left lon, right lon), includingdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoOutsideDistance.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoOutsideDistance.javaindex c1d784d387f..717854c542f 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoOutsideDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoOutsideDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Implemented by Geo3D shapes that can compute the distance from a point to the closest outside edge.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPath.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPath.javaindex bc5b9cf3f5a..a5b8b9b0660 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPath.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPath.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.Collections;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPoint.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPoint.javaindex e8a265d40a1..31ab0aa2f0a 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPoint.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPoint.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This class represents a point on the surface of a sphere or ellipsoid.@@ -117,7 +117,7 @@ public class GeoPoint extends Vector {/** Compute an arc distance between two points.* Note: this is an angular distance, and not a surface distance, and is therefore independent of planet model.- * For surface distance, see {@link org.apache.lucene.geo3d.PlanetModel#surfaceDistance(GeoPoint, GeoPoint)}+ * For surface distance, see {@link PlanetModel#surfaceDistance(GeoPoint, GeoPoint)}* @param v is the second point.* @return the angle, in radians, between the two points.*/diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygon.javasimilarity index 95%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygon.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygon.javaindex 634406d785c..742bdf808d7 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygon.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** GeoPolygon interface description.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.javaindex 0dc70a5ebf6..8ee4290df3f 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoPolygonFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.BitSet;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoRectangle.javaindex fc2a531f252..1420c1116d2 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box limited on four sides (top lat, bottom lat, left lon, right lon).diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoShape.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoShape.javaindex 21cdba3b9c7..a2d3947585e 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoShape.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoShape.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Generic shape. This describes methods that help GeoAreas figure outdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSizeable.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSizeable.javaindex e8c0ebb2e5a..3c7e2efce0e 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSizeable.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSizeable.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Some shapes can compute radii of a geocircle in which they are inscribed.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthLatitudeZone.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthLatitudeZone.javaindex 439dc1b96b8..a1d896740a7 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthLatitudeZone.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthLatitudeZone.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** This GeoBBox represents an area rectangle limited only in north latitude.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthRectangle.javaindex eb6526be983..806535e7278 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoSouthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoSouthRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box limited on three sides (top lat, left lon, right lon). Thediff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoStandardCircle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardCircle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoStandardCircle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardCircle.javaindex 0304d532f8a..bbf50466b8a 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoStandardCircle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoStandardCircle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Circular area with a center and radius.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideDegenerateHorizontalLine.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideDegenerateHorizontalLine.javaindex a9af5b2f60b..48a73afec72 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideDegenerateHorizontalLine.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideDegenerateHorizontalLine.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Degenerate bounding box wider than PI and limited on two sides (left lon, right lon).diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideLongitudeSlice.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideLongitudeSlice.javaindex 64e4fa8b091..1d6187649f3 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideLongitudeSlice.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideLongitudeSlice.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box wider than PI but limited on left and right sides (diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideNorthRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideNorthRectangle.javaindex 86de58420f9..9f9dd49bab8 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideNorthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideNorthRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box wider than PI but limited on three sides (diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideRectangle.javaindex 68397bba473..c561747c57d 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box wider than PI but limited on four sides (top lat,diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideSouthRectangle.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideSouthRectangle.javaindex 8bd72206551..da9799ab0c3 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWideSouthRectangle.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWideSouthRectangle.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box wider than PI but limited on three sides (top lat,diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWorld.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWorld.javaindex 35ec4ae2d9f..25bdc964165 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/GeoWorld.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoWorld.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Bounding box including the entire world.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LatLonBounds.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LatLonBounds.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/LatLonBounds.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LatLonBounds.javaindex 6478e0cc79b..627fdaec996 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LatLonBounds.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LatLonBounds.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** An object for accumulating latitude/longitude bounds information.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearDistance.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearDistance.javaindex 9cbedba4b41..0c89a166b6c 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Linear distance computation style.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearSquaredDistance.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearSquaredDistance.javaindex 028d3c4222e..3fc37da1289 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/LinearSquaredDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/LinearSquaredDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Linear squared distance computation style.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Membership.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Membership.javaindex 3ca6b095ac6..0cf6ff0edd7 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Membership.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Membership.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Implemented by Geo3D shapes that can calculate if a point is within it or not.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalDistance.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalDistance.javaindex cdac0d253bb..50b2c7fc0b4 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Normal distance computation style.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalSquaredDistance.javasimilarity index 97%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalSquaredDistance.javaindex 035fd40e58c..a355d09a67a 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/NormalSquaredDistance.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/NormalSquaredDistance.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Normal squared distance computation style.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Plane.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Plane.javaindex 07d0c5b5f87..1f2c054791b 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Plane.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Plane.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** We know about three kinds of planes. First kind: general plain through two points and origindiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/PlanetModel.javasimilarity index 98%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/PlanetModel.javaindex 395fa1512b9..d45d7761a8c 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/PlanetModel.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/PlanetModel.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Holds mathematical constants associated with the model of a planet.@@ -192,7 +192,7 @@ public class PlanetModel {* @param p1 is the first point.* @param p2 is the second point.* @return the adjusted angle, when multiplied by the mean earth radius, yields a surface distance. This will differ- * from GeoPoint.arcDistance() only when the planet model is not a sphere. @see {@link org.apache.lucene.geo3d.GeoPoint#arcDistance(GeoPoint)}+ * from GeoPoint.arcDistance() only when the planet model is not a sphere. @see {@link GeoPoint#arcDistance(GeoPoint)}*/public double surfaceDistance(final GeoPoint p1, final GeoPoint p2) {final double latA = p1.getLatitude();diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.javaindex 7fc543d24e5..e080bc04f40 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/SidedPlane.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/SidedPlane.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Combination of a plane, and a sign value indicating what evaluation values are on the correctdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/StandardXYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/StandardXYZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/StandardXYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/StandardXYZSolid.javaindex cd542254cbd..492f7b46a50 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/StandardXYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/StandardXYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limitsdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Tools.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Tools.javaindex 89d37aab844..e8ee29e530e 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Tools.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Tools.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Static methods globally useful for 3d geometric work.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Vector.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Vector.javaindex 1a3972d3b0c..3a1b233529a 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/Vector.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/Vector.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** A 3d vector in space, not necessarilydiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZBounds.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZBounds.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZBounds.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZBounds.javaindex 22e324bb457..c3ee53d4166 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZBounds.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZBounds.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** An object for accumulating XYZ bounds information.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolid.javasimilarity index 95%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolid.javaindex ab464029597..9298079b7b6 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** Interface for a family of 3D rectangles, bounded on six sides by X,Y,Z limitsdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolidFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolidFactory.javasimilarity index 96%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolidFactory.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolidFactory.javaindex 409ba86a0ff..25ea4005044 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYZSolidFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYZSolidFactory.java@@ -14,10 +14,10 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/**- * Factory for {@link org.apache.lucene.geo3d.XYZSolid}.+ * Factory for {@link XYZSolid}.** @lucene.experimental*/diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYdZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYdZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYdZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYdZSolid.javaindex e7cbe25e131..66aac84d916 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XYdZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XYdZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in Zdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYZSolid.javaindex f6a2fa3931b..d9e11b89fe6 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in Ydiff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYdZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYdZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYdZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYdZSolid.javaindex 562e5a6aed9..33d0beafc65 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/XdYdZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/XdYdZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in Y and Z.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYZSolid.javaindex 5a2a0063fe9..48fe714c28a 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in X.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYdZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYdZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYdZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYdZSolid.javaindex 96b3004bc5c..d824f262975 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXYdZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXYdZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in X and Z.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYZSolid.javaindex b58cd9261c2..b9942b5e6c9 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in X and Y.diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYdZSolid.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYdZSolid.javasimilarity index 99%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYdZSolid.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYdZSolid.javaindex b26cf634595..66dcab8536e 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/dXdYdZSolid.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/dXdYdZSolid.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;/*** 3D rectangle, bounded on six sides by X,Y,Z limits, degenerate in all dimensionsdiff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/package-info.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/package-info.javanew file mode 100644index 00000000000..446365cbd24--- /dev/null+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/package-info.java@@ -0,0 +1,22 @@+/*+ * Licensed to the Apache Software Foundation (ASF) under one or more+ * contributor license agreements. See the NOTICE file distributed with+ * this work for additional information regarding copyright ownership.+ * The ASF licenses this file to You under the Apache License, Version 2.0+ * (the "License"); you may not use this file except in compliance with+ * the License. You may obtain a copy of the License at+ *+ * http://www.apache.org/licenses/LICENSE-2.0+ *+ * Unless required by applicable law or agreed to in writing, software+ * distributed under the License is distributed on an "AS IS" BASIS,+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ * See the License for the specific language governing permissions and+ * limitations under the License.+ */++/**+ * Shapes implemented using 3D planar geometry. This package has no dependencies aside from Java.+ * This code was contributed under the name "Geo3D".+ */+package org.apache.lucene.spatial3d.geom;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/package-info.javasimilarity index 83%rename from lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.javarename to lucene/spatial3d/src/java/org/apache/lucene/spatial3d/package-info.javaindex 2b6af740b51..032d26f7393 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/geo3d/package-info.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/package-info.java@@ -16,6 +16,6 @@*//**- * Shapes implemented using 3D planar geometry.+ * Lucene field & query support for the spatial geometry implemented in {@link org.apache.lucene.spatial3d.geom}.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d;diff --git a/lucene/spatial3d/src/java/overview.html b/lucene/spatial3d/src/java/overview.htmlindex 152d06e6110..293cc65aa60 100644--- a/lucene/spatial3d/src/java/overview.html+++ b/lucene/spatial3d/src/java/overview.html@@ -23,7 +23,8 @@<h1>The Spatial3D Module for Apache Lucene</h1><p>- APIs for planar spatial3d math.+ APIs for planar spatial3d math. It is mostly comprised of computational geometry code in the+ "org.apache.lucene.spatial3d.geom" package (AKA "Geo3D").</p></body></html>diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/TestGeo3DPoint.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.javasimilarity index 98%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/TestGeo3DPoint.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.javaindex 17a40755d2f..a4d8ed13631 100644--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/TestGeo3DPoint.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/TestGeo3DPoint.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d;import java.io.IOException;import java.io.PrintWriter;@@ -36,6 +36,16 @@ import org.apache.lucene.codecs.lucene60.Lucene60PointsWriter;import org.apache.lucene.document.Document;import org.apache.lucene.document.Field;import org.apache.lucene.document.NumericDocValuesField;+import org.apache.lucene.spatial3d.geom.GeoArea;+import org.apache.lucene.spatial3d.geom.GeoAreaFactory;+import org.apache.lucene.spatial3d.geom.GeoBBoxFactory;+import org.apache.lucene.spatial3d.geom.GeoCircleFactory;+import org.apache.lucene.spatial3d.geom.GeoPath;+import org.apache.lucene.spatial3d.geom.GeoPoint;+import org.apache.lucene.spatial3d.geom.GeoPolygonFactory;+import org.apache.lucene.spatial3d.geom.GeoShape;+import org.apache.lucene.spatial3d.geom.PlanetModel;+import org.apache.lucene.spatial3d.geom.XYZBounds;import org.apache.lucene.index.DirectoryReader;import org.apache.lucene.index.IndexReader;import org.apache.lucene.index.IndexWriter;@@ -50,7 +60,6 @@ import org.apache.lucene.search.IndexSearcher;import org.apache.lucene.search.Query;import org.apache.lucene.search.SimpleCollector;import org.apache.lucene.store.Directory;-import org.apache.lucene.store.MockDirectoryWrapper;import org.apache.lucene.util.FixedBitSet;import org.apache.lucene.util.IOUtils;import org.apache.lucene.util.LuceneTestCase;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoBBoxTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoBBoxTest.javaindex b76134e43b3..f5a148fca9b 100755--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoBBoxTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoBBoxTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.List;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoCircleTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoCircleTest.javaindex aa5c2e3325b..186bf4c650e 100755--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoCircleTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoCircleTest.java@@ -14,15 +14,10 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;--import org.junit.Test;--import static org.junit.Assert.assertEquals;-import static org.junit.Assert.assertFalse;-import static org.junit.Assert.assertTrue;+package org.apache.lucene.spatial3d.geom;import org.apache.lucene.util.LuceneTestCase;+import org.junit.Test;public class GeoCircleTest extends LuceneTestCase {diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoConvexPolygonTest.javasimilarity index 98%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoConvexPolygonTest.javaindex d6ca7ba621a..a6ca404ceaa 100755--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoConvexPolygonTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoConvexPolygonTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import org.junit.Test;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoModelTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoModelTest.javaindex b3001d4df83..d5fcbdd5b89 100644--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoModelTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoModelTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import org.junit.Test;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPathTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPathTest.javaindex fea7ed48ac4..37460699359 100755--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPathTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPathTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import org.junit.Test;diff --git a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPointTest.javasimilarity index 69%rename from lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPointTest.javaindex 444647404e5..ed1792862be 100644--- a/lucene/spatial-extras/src/test/org/apache/lucene/spatial/spatial4j/geo3d/GeoPointTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPointTest.java@@ -14,33 +14,30 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.spatial.spatial4j.geo3d;+package org.apache.lucene.spatial3d.geom;-import org.apache.lucene.geo3d.GeoPoint;-import org.apache.lucene.geo3d.PlanetModel;import org.apache.lucene.util.LuceneTestCase;import org.junit.Test;-import org.locationtech.spatial4j.distance.DistanceUtils;-import static com.carrotsearch.randomizedtesting.RandomizedTest.randomFloat;/*** Test basic GeoPoint functionality.*/public class GeoPointTest extends LuceneTestCase {+ static final double DEGREES_TO_RADIANS = Math.PI / 180;@Testpublic void testConversion() {- testPointRoundTrip(PlanetModel.SPHERE, 90 * DistanceUtils.DEGREES_TO_RADIANS, 0, 1e-6);- testPointRoundTrip(PlanetModel.SPHERE, -90 * DistanceUtils.DEGREES_TO_RADIANS, 0, 1e-6);- testPointRoundTrip(PlanetModel.WGS84, 90 * DistanceUtils.DEGREES_TO_RADIANS, 0, 1e-6);- testPointRoundTrip(PlanetModel.WGS84, -90 * DistanceUtils.DEGREES_TO_RADIANS, 0, 1e-6);+ testPointRoundTrip(PlanetModel.SPHERE, 90 * DEGREES_TO_RADIANS, 0, 1e-6);+ testPointRoundTrip(PlanetModel.SPHERE, -90 * DEGREES_TO_RADIANS, 0, 1e-6);+ testPointRoundTrip(PlanetModel.WGS84, 90 * DEGREES_TO_RADIANS, 0, 1e-6);+ testPointRoundTrip(PlanetModel.WGS84, -90 * DEGREES_TO_RADIANS, 0, 1e-6);final int times = atLeast(100);for (int i = 0; i < times; i++) {- final double pLat = (randomFloat() * 180.0 - 90.0) * DistanceUtils.DEGREES_TO_RADIANS;- final double pLon = (randomFloat() * 360.0 - 180.0) * DistanceUtils.DEGREES_TO_RADIANS;+ final double pLat = (randomFloat() * 180.0 - 90.0) * DEGREES_TO_RADIANS;+ final double pLon = (randomFloat() * 360.0 - 180.0) * DEGREES_TO_RADIANS;testPointRoundTrip(PlanetModel.SPHERE, pLat, pLon, 1e-6);//1e-6 since there's a square root in there (Karl says)testPointRoundTrip(PlanetModel.WGS84, pLat, pLon, 1e-6);}@@ -60,10 +57,10 @@ public class GeoPointTest extends LuceneTestCase {public void testSurfaceDistance() {final int times = atLeast(100);for (int i = 0; i < times; i++) {- final double p1Lat = (randomFloat() * 180.0 - 90.0) * DistanceUtils.DEGREES_TO_RADIANS;- final double p1Lon = (randomFloat() * 360.0 - 180.0) * DistanceUtils.DEGREES_TO_RADIANS;- final double p2Lat = (randomFloat() * 180.0 - 90.0) * DistanceUtils.DEGREES_TO_RADIANS;- final double p2Lon = (randomFloat() * 360.0 - 180.0) * DistanceUtils.DEGREES_TO_RADIANS;+ final double p1Lat = (randomFloat() * 180.0 - 90.0) * DEGREES_TO_RADIANS;+ final double p1Lon = (randomFloat() * 360.0 - 180.0) * DEGREES_TO_RADIANS;+ final double p2Lat = (randomFloat() * 180.0 - 90.0) * DEGREES_TO_RADIANS;+ final double p2Lon = (randomFloat() * 360.0 - 180.0) * DEGREES_TO_RADIANS;final GeoPoint p1 = new GeoPoint(PlanetModel.SPHERE, p1Lat, p1Lon);final GeoPoint p2 = new GeoPoint(PlanetModel.SPHERE, p2Lat, p2Lon);final double arcDistance = p1.arcDistance(p2);diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.javaindex f1511b96942..d9b220de925 100755--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/GeoPolygonTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/GeoPolygonTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import java.util.ArrayList;import java.util.List;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/PlaneTest.javasimilarity index 98%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/PlaneTest.javaindex 2ac3856bf7e..91bd0c3f928 100644--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/PlaneTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/PlaneTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import org.junit.Test;diff --git a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/XYZSolidTest.java b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/XYZSolidTest.javasimilarity index 99%rename from lucene/spatial3d/src/test/org/apache/lucene/geo3d/XYZSolidTest.javarename to lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/XYZSolidTest.javaindex 876a5256b11..98c616ebbff 100644--- a/lucene/spatial3d/src/test/org/apache/lucene/geo3d/XYZSolidTest.java+++ b/lucene/spatial3d/src/test/org/apache/lucene/spatial3d/geom/XYZSolidTest.java@@ -14,7 +14,7 @@* See the License for the specific language governing permissions and* limitations under the License.*/-package org.apache.lucene.geo3d;+package org.apache.lucene.spatial3d.geom;import org.apache.lucene.util.LuceneTestCase;import org.junit.Test;