mirror of https://github.com/apache/lucene.git
LUCENE-7167:
Make solid variants package private More public->package private
This commit is contained in:
parent
1040fcbf42
commit
0843e95f0c
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public abstract class BaseXYZSolid extends BasePlanetObject implements XYZSolid {
|
||||
abstract class BaseXYZSolid extends BasePlanetObject implements XYZSolid {
|
||||
|
||||
/** Unit vector in x */
|
||||
protected static final Vector xUnitVector = new Vector(1.0, 0.0, 0.0);
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public abstract class GeoBaseBBox extends GeoBaseMembershipShape implements GeoBBox {
|
||||
abstract class GeoBaseBBox extends GeoBaseMembershipShape implements GeoBBox {
|
||||
|
||||
/** Construct, given planet model.
|
||||
*@param planetModel is the planet model.
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.experimental
|
||||
*/
|
||||
public abstract class GeoBaseCircle extends GeoBaseDistanceShape implements GeoCircle {
|
||||
abstract class GeoBaseCircle extends GeoBaseDistanceShape implements GeoCircle {
|
||||
|
||||
/** Constructor.
|
||||
*@param planetModel is the planet model to use.
|
||||
|
|
|
@ -19,9 +19,9 @@ package org.apache.lucene.spatial3d.geom;
|
|||
/**
|
||||
* GeoBasePolygon objects are the base class of most GeoPolygon objects.
|
||||
*
|
||||
* @lucene.experimental
|
||||
* @lucene.internal
|
||||
*/
|
||||
public abstract class GeoBasePolygon extends GeoBaseMembershipShape implements GeoPolygon {
|
||||
abstract class GeoBasePolygon extends GeoBaseMembershipShape implements GeoPolygon {
|
||||
|
||||
/** Constructor.
|
||||
*@param planetModel is the planet model to use.
|
||||
|
|
|
@ -28,9 +28,9 @@ import java.util.Map;
|
|||
* a maximum extent larger than PI. Violating either one of these limits will
|
||||
* cause the logic to fail.
|
||||
*
|
||||
* @lucene.experimental
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoConcavePolygon extends GeoBasePolygon {
|
||||
class GeoConcavePolygon extends GeoBasePolygon {
|
||||
/** The list of polygon points */
|
||||
protected final List<GeoPoint> points;
|
||||
/** A bitset describing, for each edge, whether it is internal or not */
|
||||
|
|
|
@ -28,9 +28,9 @@ import java.util.Map;
|
|||
* a maximum extent no larger than PI. Violating either one of these limits will
|
||||
* cause the logic to fail.
|
||||
*
|
||||
* @lucene.experimental
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoConvexPolygon extends GeoBasePolygon {
|
||||
class GeoConvexPolygon extends GeoBasePolygon {
|
||||
/** The list of polygon points */
|
||||
protected final List<GeoPoint> points;
|
||||
/** A bitset describing, for each edge, whether it is internal or not */
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoDegenerateHorizontalLine extends GeoBaseBBox {
|
||||
class GeoDegenerateHorizontalLine extends GeoBaseBBox {
|
||||
/** Latitude of horizontal line */
|
||||
protected final double latitude;
|
||||
/** Left bounding longitude of line */
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoDegenerateLatitudeZone extends GeoBaseBBox {
|
||||
class GeoDegenerateLatitudeZone extends GeoBaseBBox {
|
||||
/** The latitude */
|
||||
protected final double latitude;
|
||||
/** Sine of the latitude */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoDegenerateLongitudeSlice extends GeoBaseBBox {
|
||||
class GeoDegenerateLongitudeSlice extends GeoBaseBBox {
|
||||
/** The longitude of the slice */
|
||||
protected final double longitude;
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoDegeneratePoint extends GeoPoint implements GeoBBox, GeoCircle {
|
||||
class GeoDegeneratePoint extends GeoPoint implements GeoBBox, GeoCircle {
|
||||
/** Current planet model, since we don't extend BasePlanetObject */
|
||||
protected final PlanetModel planetModel;
|
||||
/** Edge point is an area containing just this */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoLatitudeZone extends GeoBaseBBox {
|
||||
class GeoLatitudeZone extends GeoBaseBBox {
|
||||
/** The top latitude of the zone */
|
||||
protected final double topLat;
|
||||
/** The bottom latitude of the zone */
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoLongitudeSlice extends GeoBaseBBox {
|
||||
class GeoLongitudeSlice extends GeoBaseBBox {
|
||||
/** The left longitude of the slice */
|
||||
protected final double leftLon;
|
||||
/** The right longitude of the slice */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoNorthLatitudeZone extends GeoBaseBBox {
|
||||
class GeoNorthLatitudeZone extends GeoBaseBBox {
|
||||
/** The bottom latitude of the zone */
|
||||
protected final double bottomLat;
|
||||
/** Cosine of the bottom latitude of the zone */
|
||||
|
|
|
@ -24,7 +24,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoNorthRectangle extends GeoBaseBBox {
|
||||
class GeoNorthRectangle extends GeoBaseBBox {
|
||||
/** The bottom latitude of the rectangle */
|
||||
protected final double bottomLat;
|
||||
/** The left longitude */
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoRectangle extends GeoBaseBBox {
|
||||
class GeoRectangle extends GeoBaseBBox {
|
||||
/** The top latitude of the rect */
|
||||
protected final double topLat;
|
||||
/** The bottom latitude of the rect */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoSouthLatitudeZone extends GeoBaseBBox {
|
||||
class GeoSouthLatitudeZone extends GeoBaseBBox {
|
||||
/** The top latitude of the zone */
|
||||
protected final double topLat;
|
||||
/** The cosine of the top latitude of the zone */
|
||||
|
|
|
@ -24,7 +24,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoSouthRectangle extends GeoBaseBBox {
|
||||
class GeoSouthRectangle extends GeoBaseBBox {
|
||||
/** The top latitude of the rect */
|
||||
protected final double topLat;
|
||||
/** The left longitude of the rect */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.experimental
|
||||
*/
|
||||
public class GeoStandardCircle extends GeoBaseCircle {
|
||||
class GeoStandardCircle extends GeoBaseCircle {
|
||||
/** Center of circle */
|
||||
protected final GeoPoint center;
|
||||
/** Cutoff angle of circle (not quite the same thing as radius) */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWideDegenerateHorizontalLine extends GeoBaseBBox {
|
||||
class GeoWideDegenerateHorizontalLine extends GeoBaseBBox {
|
||||
/** The latitude of the line */
|
||||
protected final double latitude;
|
||||
/** The left longitude cutoff of the line */
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWideLongitudeSlice extends GeoBaseBBox {
|
||||
class GeoWideLongitudeSlice extends GeoBaseBBox {
|
||||
/** The left longitude */
|
||||
protected final double leftLon;
|
||||
/** The right longitude */
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWideNorthRectangle extends GeoBaseBBox {
|
||||
class GeoWideNorthRectangle extends GeoBaseBBox {
|
||||
/** Bottom latitude */
|
||||
protected final double bottomLat;
|
||||
/** Left longitude */
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWideRectangle extends GeoBaseBBox {
|
||||
class GeoWideRectangle extends GeoBaseBBox {
|
||||
/** The top latitude */
|
||||
protected final double topLat;
|
||||
/** The bottom latitude */
|
||||
|
|
|
@ -22,7 +22,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWideSouthRectangle extends GeoBaseBBox {
|
||||
class GeoWideSouthRectangle extends GeoBaseBBox {
|
||||
/** Top latitude of rect */
|
||||
protected final double topLat;
|
||||
/** Left longitude of rect */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class GeoWorld extends GeoBaseBBox {
|
||||
class GeoWorld extends GeoBaseBBox {
|
||||
/** No points on the edge of the shape */
|
||||
protected final static GeoPoint[] edgePoints = new GeoPoint[0];
|
||||
/** Point in the middle of the world */
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class StandardXYZSolid extends BaseXYZSolid {
|
||||
class StandardXYZSolid extends BaseXYZSolid {
|
||||
|
||||
/** Whole world? */
|
||||
protected final boolean isWholeWorld;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class XYdZSolid extends BaseXYZSolid {
|
||||
class XYdZSolid extends BaseXYZSolid {
|
||||
|
||||
/** Min-X plane */
|
||||
protected final SidedPlane minXPlane;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class XdYZSolid extends BaseXYZSolid {
|
||||
class XdYZSolid extends BaseXYZSolid {
|
||||
|
||||
/** Min-X plane */
|
||||
protected final SidedPlane minXPlane;
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class XdYdZSolid extends BaseXYZSolid {
|
||||
class XdYdZSolid extends BaseXYZSolid {
|
||||
|
||||
/** The points in this figure on the planet surface; also doubles for edge points */
|
||||
protected final GeoPoint[] surfacePoints;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class dXYZSolid extends BaseXYZSolid {
|
||||
class dXYZSolid extends BaseXYZSolid {
|
||||
|
||||
/** X plane */
|
||||
protected final Plane xPlane;
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class dXYdZSolid extends BaseXYZSolid {
|
||||
class dXYdZSolid extends BaseXYZSolid {
|
||||
|
||||
/** The points in this figure on the planet surface; also doubles for edge points */
|
||||
protected final GeoPoint[] surfacePoints;
|
||||
|
|
|
@ -23,7 +23,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class dXdYZSolid extends BaseXYZSolid {
|
||||
class dXdYZSolid extends BaseXYZSolid {
|
||||
|
||||
/** The points in this figure on the planet surface; also doubles for edge points */
|
||||
protected final GeoPoint[] surfacePoints;
|
||||
|
|
|
@ -21,7 +21,7 @@ package org.apache.lucene.spatial3d.geom;
|
|||
*
|
||||
* @lucene.internal
|
||||
*/
|
||||
public class dXdYdZSolid extends BaseXYZSolid {
|
||||
class dXdYdZSolid extends BaseXYZSolid {
|
||||
|
||||
/** On surface? */
|
||||
protected final boolean isOnSurface;
|
||||
|
|
Loading…
Reference in New Issue