Apache Lucene open-source search software
LUCENE-7157: Fix up javadoc
Karl Wrightc2c68ece23df
diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConcavePolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConcavePolygon.javaindex 7069e380fba..375ec6088e4 100644--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConcavePolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConcavePolygon.java@@ -295,6 +295,7 @@ class GeoConcavePolygon extends GeoBasePolygon {protected final SidedPlane exception;/** Constructor.+ * @param exception is the one plane to exclude from the check.*/public EitherBound(final SidedPlane exception) {this.exception = exception;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.javaindex 502af3f372d..0a48eeb3a37 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoConvexPolygon.java@@ -281,6 +281,7 @@ class GeoConvexPolygon extends GeoBasePolygon {protected final SidedPlane exception;/** Constructor.+ * @param exception is the one plane to exclude from the check.*/public EitherBound(final SidedPlane exception) {this.exception = exception;diff --git a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.javaindex d8040de64e8..d2d71b358e2 100755--- a/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java+++ b/lucene/spatial3d/src/java/org/apache/lucene/spatial3d/geom/GeoPolygonFactory.java@@ -741,7 +741,14 @@ public class GeoPolygonFactory {protected final Set<Edge> edges = new HashSet<>();protected final Map<Edge, Edge> previousEdges = new HashMap<>();protected final Map<Edge, Edge> nextEdges = new HashMap<>();-++ /** Constructor.+ * @param pointList is the list of points.+ * @param startPlaneStartIndex is the index of the startPlane's starting point+ * @param startPlaneEndIndex is the index of the startPlane's ending point+ * @param startPlane is the starting plane+ * @param startPlaneIsInternal signals whether the startPlane is an internal edge+ */public EdgeBuffer(final List<GeoPoint> pointList, final int startPlaneStartIndex, final int startPlaneEndIndex, final SidedPlane startPlane, final boolean startPlaneIsInternal) {/*System.out.println("Initial points:");@@ -832,14 +839,26 @@ public class GeoPolygonFactory {}*/+ /** Get the previous edge.+ * @param currentEdge is the current edge.+ * @return the previous edge, if found.+ */public Edge getPrevious(final Edge currentEdge) {return previousEdges.get(currentEdge);}+ /** Get the next edge.+ * @param currentEdge is the current edge.+ * @return the next edge, if found.+ */public Edge getNext(final Edge currentEdge) {return nextEdges.get(currentEdge);}+ /** Replace a list of edges with a new edge.+ * @param removeList is the list of edges to remove.+ * @param newEdge is the edge to add.+ */public void replace(final List<Edge> removeList, final Edge newEdge) {/*System.out.println("Replacing: ");@@ -865,7 +884,9 @@ public class GeoPolygonFactory {}//verify();}-++ /** Clear all edges.+ */public void clear() {edges.clear();previousEdges.clear();@@ -873,14 +894,23 @@ public class GeoPolygonFactory {oneEdge = null;}+ /** Get the size of the edge buffer.+ * @return the size.+ */public int size() {return edges.size();}+ /** Get an iterator to iterate over edges.+ * @return the iterator.+ */public Iterator<Edge> iterator() {return new EdgeBufferIterator(this);}+ /** Return a first edge.+ * @return the edge.+ */public Edge pickOne() {return oneEdge;}