Uses of Class
org.apache.lucene.spatial3d.geom.PlanetModel
Packages that use PlanetModel
Package
Description
Lucene field & query support for the spatial geometry implemented in
org.apache.lucene.spatial3d.geom.Shapes implemented using 3D planar geometry.
-
Uses of PlanetModel in org.apache.lucene.spatial3d
Fields in org.apache.lucene.spatial3d declared as PlanetModelModifier and TypeFieldDescriptionprotected final PlanetModelGeo3DPoint.planetModelPlanet Model for this Geo3DPointMethods in org.apache.lucene.spatial3d with parameters of type PlanetModelModifier and TypeMethodDescriptionstatic doubleGeo3DPoint.decodeDimension(byte[] value, int offset, PlanetModel planetModel) Decode single dimensionstatic voidGeo3DPoint.encodeDimension(double value, byte[] bytes, int offset, PlanetModel planetModel) Encode single dimensionstatic QueryGeo3DPoint.newBoxQuery(String field, PlanetModel planetModel, double minLatitude, double maxLatitude, double minLongitude, double maxLongitude) Create a query for matching a box.static QueryGeo3DPoint.newDistanceQuery(String field, PlanetModel planetModel, double latitude, double longitude, double radiusMeters) Create a query for matching points within the specified distance of the supplied location.static SortFieldGeo3DDocValuesField.newDistanceSort(String field, double latitude, double longitude, double maxRadiusMeters, PlanetModel planetModel) Creates a SortField for sorting by distance within a circle.static QueryGeo3DPoint.newLargePolygonQuery(String field, PlanetModel planetModel, Polygon... polygons) Create a query for matching a large polygon.static SortFieldGeo3DDocValuesField.newOutsideBoxSort(String field, double minLatitude, double maxLatitude, double minLongitude, double maxLongitude, PlanetModel planetModel) Creates a SortField for sorting by outside distance from a box.static SortFieldGeo3DDocValuesField.newOutsideDistanceSort(String field, double latitude, double longitude, double maxRadiusMeters, PlanetModel planetModel) Creates a SortField for sorting by outside distance from a circle.static SortFieldGeo3DDocValuesField.newOutsideLargePolygonSort(String field, PlanetModel planetModel, Polygon... polygons) Creates a SortField for sorting by outside distance from a large polygon.static SortFieldGeo3DDocValuesField.newOutsidePathSort(String field, double[] pathLatitudes, double[] pathLongitudes, double pathWidthMeters, PlanetModel planetModel) Creates a SortField for sorting by outside distance from a path.static SortFieldGeo3DDocValuesField.newOutsidePolygonSort(String field, PlanetModel planetModel, Polygon... polygons) Creates a SortField for sorting by outside distance from a polygon.static QueryGeo3DPoint.newPathQuery(String field, double[] pathLatitudes, double[] pathLongitudes, double pathWidthMeters, PlanetModel planetModel) Create a query for matching a path.static SortFieldGeo3DDocValuesField.newPathSort(String field, double[] pathLatitudes, double[] pathLongitudes, double pathWidthMeters, PlanetModel planetModel) Creates a SortField for sorting by distance along a path.static QueryGeo3DPoint.newPolygonQuery(String field, PlanetModel planetModel, Polygon... polygons) Create a query for matching a polygon.Constructors in org.apache.lucene.spatial3d with parameters of type PlanetModelModifierConstructorDescriptionGeo3DDocValuesField(String name, double x, double y, double z, PlanetModel planetModel) Creates a new Geo3DDocValuesField with the specified x, y, and zGeo3DDocValuesField(String name, GeoPoint point, PlanetModel planetModel) Creates a new Geo3DDocValuesField with the specified x, y, and zGeo3DPoint(String name, PlanetModel planetModel, double latitude, double longitude) Creates a new Geo3DPoint field with the specified latitude, longitude (in degrees), given a planet model.Geo3DPoint(String name, PlanetModel planetModel, double x, double y, double z) Creates a new Geo3DPoint field with the specified x,y,z, and given planet model. -
Uses of PlanetModel in org.apache.lucene.spatial3d.geom
Fields in org.apache.lucene.spatial3d.geom declared as PlanetModelModifier and TypeFieldDescriptionstatic final PlanetModelPlanetModel.CLARKE_1866Planet model corresponding to Clarke 1866 ellipsoidprotected final PlanetModelBasePlanetObject.planetModelThis is the planet model embedded in all objects derived from this class.static final PlanetModelPlanetModel.SPHEREPlanet model corresponding to sphere.static final PlanetModelPlanetModel.WGS84Planet model corresponding to WGS84 ellipsoidMethods in org.apache.lucene.spatial3d.geom that return PlanetModelModifier and TypeMethodDescriptionBasePlanetObject.getPlanetModel()PlanetObject.getPlanetModel()Returns thePlanetModelprovided when this shape was created.Methods in org.apache.lucene.spatial3d.geom with parameters of type PlanetModelModifier and TypeMethodDescriptionBounds.addHorizontalPlane(PlanetModel planetModel, double latitude, Plane horizontalPlane, Membership... bounds) Add a horizontal plane to the bounds description.LatLonBounds.addHorizontalPlane(PlanetModel planetModel, double latitude, Plane horizontalPlane, Membership... bounds) XYZBounds.addHorizontalPlane(PlanetModel planetModel, double latitude, Plane horizontalPlane, Membership... bounds) Add a horizontal plane to the bounds description.Bounds.addIntersection(PlanetModel planetModel, Plane plane1, Plane plane2, Membership... bounds) Add the intersection between two planes to the bounds description.LatLonBounds.addIntersection(PlanetModel planetModel, Plane plane1, Plane plane2, Membership... bounds) XYZBounds.addIntersection(PlanetModel planetModel, Plane plane1, Plane plane2, Membership... bounds) Bounds.addPlane(PlanetModel planetModel, Plane plane, Membership... bounds) Add a general plane to the bounds description.LatLonBounds.addPlane(PlanetModel planetModel, Plane plane, Membership... bounds) XYZBounds.addPlane(PlanetModel planetModel, Plane plane, Membership... bounds) Bounds.addVerticalPlane(PlanetModel planetModel, double longitude, Plane verticalPlane, Membership... bounds) Add a vertical plane to the bounds description.LatLonBounds.addVerticalPlane(PlanetModel planetModel, double longitude, Plane verticalPlane, Membership... bounds) XYZBounds.addVerticalPlane(PlanetModel planetModel, double longitude, Plane verticalPlane, Membership... bounds) Add a vertical plane to the bounds description.doublePlane.arcDistance(PlanetModel planetModel, double x, double y, double z, Membership... bounds) Compute arc distance from plane to a vector.doublePlane.arcDistance(PlanetModel planetModel, GeoPoint v, Membership... bounds) Compute arc distance from plane to a vector expressed with aGeoPoint.doubleArcDistance.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) doubleArcDistance.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) doubleDistanceStyle.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) Compute the distance from a plane to a point.default doubleDistanceStyle.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) Compute the distance from a plane to a point.doubleLinearDistance.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) doubleLinearDistance.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) doubleLinearSquaredDistance.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) doubleLinearSquaredDistance.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) doubleNormalDistance.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) doubleNormalDistance.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) doubleNormalSquaredDistance.computeDistance(PlanetModel planetModel, Plane plane, double x, double y, double z, Membership... bounds) doubleNormalSquaredDistance.computeDistance(PlanetModel planetModel, Plane plane, GeoPoint point, Membership... bounds) booleanPlane.crosses(PlanetModel planetModel, Plane q, GeoPoint[] notablePoints, GeoPoint[] moreNotablePoints, Membership[] bounds, Membership... moreBounds) Determine whether the plane crosses another plane within the bounds provided.GeoPoint[]Plane.findArcDistancePoints(PlanetModel planetModel, double arcDistanceValue, GeoPoint startPoint, Membership... bounds) Locate a point that is within the specified bounds and on the specified plane, that has an arcDistance as specified from the startPoint.GeoPoint[]Plane.findCrossings(PlanetModel planetModel, Plane q, Membership... bounds) Find the points between two planes, where one plane crosses the other, given a set of bounds.protected GeoPoint[]Plane.findCrossings(PlanetModel planetModel, Plane q, Membership[] bounds, Membership[] moreBounds) Find the points between two planes, where one plane crosses the other, given a set of bounds.GeoPoint[]ArcDistance.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) GeoPoint[]DistanceStyle.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) Find a GeoPoint, at a specified distance from a starting point, within the specified bounds.GeoPoint[]LinearDistance.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) GeoPoint[]LinearSquaredDistance.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) GeoPoint[]NormalDistance.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) GeoPoint[]NormalSquaredDistance.findDistancePoints(PlanetModel planetModel, double distanceValue, GeoPoint startPoint, Plane plane, Membership... bounds) protected voidPlane.findIntersectionBounds(PlanetModel planetModel, Bounds boundsInfo, Plane q, Membership... bounds) Record intersection points for planes with error bounds.GeoPoint[]Plane.findIntersections(PlanetModel planetModel, Plane q, Membership... bounds) Find the intersection points between two planes, given a set of bounds.protected GeoPoint[]Plane.findIntersections(PlanetModel planetModel, Plane q, Membership[] bounds, Membership[] moreBounds) Find the intersection points between two planes, given a set of bounds.doubleArcDistance.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) doubleDistanceStyle.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) Given a distance metric, find the maximum arc distance represented by the distance metric.doubleLinearDistance.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) doubleLinearSquaredDistance.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) doubleNormalDistance.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) doubleNormalSquaredDistance.findMaximumArcDistance(PlanetModel planetModel, double distanceValue) doubleArcDistance.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) doubleDistanceStyle.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) Given a distance metric, find the minimum arc distance represented by that distance metric.doubleLinearDistance.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) doubleLinearSquaredDistance.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) doubleNormalDistance.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) doubleNormalSquaredDistance.findMinimumArcDistance(PlanetModel planetModel, double distanceValue) Plane.getSampleIntersectionPoint(PlanetModel planetModel, Plane q) Find a sample point on the intersection between two planes and the world.GeoPoint[]Plane.interpolate(PlanetModel planetModel, GeoPoint start, GeoPoint end, double[] proportions) Find points on the boundary of the intersection of a plane and the unit sphere, given a starting point, and ending point, and a list of proportions of the arc (e.g.booleanPlane.intersects(PlanetModel planetModel, Plane q, GeoPoint[] notablePoints, GeoPoint[] moreNotablePoints, Membership[] bounds, Membership... moreBounds) Determine whether the plane intersects another plane within the bounds provided.booleanXYZBounds.isLargestMaxX(PlanetModel planetModel) Return true if maxX is as large as the planet model allows.booleanXYZBounds.isLargestMaxY(PlanetModel planetModel) Return true if maxY is as large as the planet model allows.booleanXYZBounds.isLargestMaxZ(PlanetModel planetModel) Return true if maxZ is as large as the planet model allows.booleanXYZBounds.isSmallestMinX(PlanetModel planetModel) Return true if minX is as small as the planet model allows.booleanXYZBounds.isSmallestMinY(PlanetModel planetModel) Return true if minY is as small as the planet model allows.booleanXYZBounds.isSmallestMinZ(PlanetModel planetModel) Return true if minZ is as small as the planet model allows.doublePlane.linearDistance(PlanetModel planetModel, double x, double y, double z, Membership... bounds) Compute linear distance from plane to a vector.doublePlane.linearDistance(PlanetModel planetModel, GeoPoint v, Membership... bounds) Compute linear distance from plane to a vector.doublePlane.linearDistanceSquared(PlanetModel planetModel, double x, double y, double z, Membership... bounds) Compute linear distance squared from plane to a vector.doublePlane.linearDistanceSquared(PlanetModel planetModel, GeoPoint v, Membership... bounds) Compute linear distance squared from plane to a vector.static GeoCircleGeoCircleFactory.makeExactGeoCircle(PlanetModel planetModel, double latitude, double longitude, double radius, double accuracy) Create an GeoCircle from a center, a radius and a desired accuracy.static GeoAreaGeoAreaFactory.makeGeoArea(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon) Create a GeoArea of the right kind given the specified bounds.static GeoAreaGeoAreaFactory.makeGeoArea(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ) Create a GeoArea of the right kind given (x,y,z) bounds.static GeoBBoxGeoBBoxFactory.makeGeoBBox(PlanetModel planetModel, double topLat, double bottomLat, double leftLon, double rightLon) Create a geobbox of the right kind given the specified bounds.static GeoBBoxGeoBBoxFactory.makeGeoBBox(PlanetModel planetModel, LatLonBounds bounds) Create a geobbox of the right kind given the specifiedLatLonBounds.static GeoCircleGeoCircleFactory.makeGeoCircle(PlanetModel planetModel, double latitude, double longitude, double cutoffAngle) Create a GeoCircle from a center and a cutoff angle.static GeoPolygonGeoPolygonFactory.makeGeoConcavePolygon(PlanetModel planetModel, List<GeoPoint> pointList) Create a GeoConcavePolygon using the specified points.static GeoPolygonGeoPolygonFactory.makeGeoConcavePolygon(PlanetModel planetModel, List<GeoPoint> pointList, List<GeoPolygon> holes) Create a GeoConcavePolygon using the specified points and holes.static GeoPolygonGeoPolygonFactory.makeGeoConvexPolygon(PlanetModel planetModel, List<GeoPoint> pointList) Create a GeoConvexPolygon using the specified points.static GeoPolygonGeoPolygonFactory.makeGeoConvexPolygon(PlanetModel planetModel, List<GeoPoint> pointList, List<GeoPolygon> holes) Create a GeoConvexPolygon using the specified points and holes.static GeoPathGeoPathFactory.makeGeoPath(PlanetModel planetModel, double maxCutoffAngle, GeoPoint[] pathPoints) Create a GeoPath of the right kind given the specified information.static GeoPointShapeGeoPointShapeFactory.makeGeoPointShape(PlanetModel planetModel, double lat, double lon) Create a GeoPointShape with the provided information.static GeoPolygonGeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel, List<GeoPoint> pointList) Create a GeoPolygon using the specified points and holes, using order to determine siding of the polygon.static GeoPolygonGeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel, List<GeoPoint> pointList, List<GeoPolygon> holes) Create a GeoPolygon using the specified points and holes, using order to determine siding of the polygon.static GeoPolygonGeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel, List<GeoPoint> pointList, List<GeoPolygon> holes, double leniencyValue) Create a GeoPolygon using the specified points and holes, using order to determine siding of the polygon.static GeoPolygonGeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel, GeoPolygonFactory.PolygonDescription description) Create a GeoPolygon using the specified points and holes, using order to determine siding of the polygon.static GeoPolygonGeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel, GeoPolygonFactory.PolygonDescription description, double leniencyValue) Create a GeoPolygon using the specified points and holes, using order to determine siding of the polygon.static GeoPolygonGeoS2ShapeFactory.makeGeoS2Shape(PlanetModel planetModel, GeoPoint point1, GeoPoint point2, GeoPoint point3, GeoPoint point4) Creates a convex polygon with 4 planes by providing 4 points in CCW.static GeoPolygonGeoPolygonFactory.makeLargeGeoPolygon(PlanetModel planetModel, List<GeoPolygonFactory.PolygonDescription> shapesList) Create a large GeoPolygon.static XYZSolidXYZSolidFactory.makeXYZSolid(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ) Create a XYZSolid of the right kind given (x,y,z) bounds.static XYZSolidXYZSolidFactory.makeXYZSolid(PlanetModel planetModel, XYZBounds bounds) Create a XYZSolid of the right kind given (x,y,z) bounds.Bounds.noBound(PlanetModel planetModel) Signal that there is no bound whatsoever.LatLonBounds.noBound(PlanetModel planetModel) XYZBounds.noBound(PlanetModel planetModel) static <T extends SerializableObject>
T[]SerializableObject.readHeterogeneousArray(PlanetModel planetModel, InputStream inputStream, Class<T> clazz) Read an array.static <T extends SerializableObject>
T[]SerializableObject.readHomogeneousArray(PlanetModel planetModel, InputStream inputStream, Class<T> clazz) Read an array.static SerializableObjectSerializableObject.readObject(PlanetModel planetModel, InputStream inputStream) Read an object from a stream (for objects that need a PlanetModel).static SerializableObjectSerializableObject.readObject(PlanetModel planetModel, InputStream inputStream, Class<?> clazz) Instantiate a serializable object from a stream.static GeoPoint[]SerializableObject.readPointArray(PlanetModel planetModel, InputStream inputStream) Read a point array.static GeoPolygon[]SerializableObject.readPolygonArray(PlanetModel planetModel, InputStream inputStream) Read a polygon array.voidPlane.recordBounds(PlanetModel planetModel, LatLonBounds boundsInfo, Membership... bounds) Accumulate bounds information for this plane, intersected with the unit sphere.voidPlane.recordBounds(PlanetModel planetModel, LatLonBounds boundsInfo, Plane p, Membership... bounds) Accumulate bounds information for this plane, intersected with another plane and the world.voidPlane.recordBounds(PlanetModel planetModel, XYZBounds boundsInfo, Membership... bounds) Accumulate (x,y,z) bounds information for this plane, intersected with the unit sphere.voidPlane.recordBounds(PlanetModel planetModel, XYZBounds boundsInfo, Plane p, Membership... bounds) Accumulate (x,y,z) bounds information for this plane, intersected with another and the world.protected static GeoPointPlane.reverseModify(PlanetModel planetModel, Vector point, double transX, double transY, double transZ, double sinRA, double cosRA, double sinHA, double cosHA) Reverse modify a point to produce a GeoPoint in normal space.Constructors in org.apache.lucene.spatial3d.geom with parameters of type PlanetModelModifierConstructorDescriptionBasePlanetObject(PlanetModel planetModel) Constructor creating class instance given a planet model.GeoBaseBounds(PlanetModel planetModel) Constructor.GeoBaseCompositeShape(PlanetModel planetModel) Constructor.GeoBaseCompositeShape(PlanetModel planetModel, InputStream inputStream, Class<T> clazz) Constructor for deserialization.GeoBaseDistanceShape(PlanetModel planetModel) Constructor.GeoBaseMembershipShape(PlanetModel planetModel) Constructor.GeoBaseShape(PlanetModel planetModel) Constructor.GeoCompositeAreaShape(PlanetModel planetModel) Constructor.GeoCompositeAreaShape(PlanetModel planetModel, InputStream inputStream) Constructor for deserialization.GeoCompositeMembershipShape(PlanetModel planetModel) Constructor.GeoCompositeMembershipShape(PlanetModel planetModel, InputStream inputStream) Constructor for deserialization.GeoCompositePolygon(PlanetModel planetModel) Constructor.GeoCompositePolygon(PlanetModel planetModel, InputStream inputStream) Constructor for deserialization.GeoDegenerateVerticalLine(PlanetModel planetModel, double topLat, double bottomLat, double longitude) Accepts only values in the following ranges: lat:-PI/2 -> PI/2, longitude:-PI -> PIGeoDegenerateVerticalLine(PlanetModel planetModel, InputStream inputStream) Constructor for deserialization.GeoPoint(PlanetModel planetModel, double lat, double lon) Construct a GeoPoint from a latitude/longitude pair.GeoPoint(PlanetModel planetModel, double sinLat, double sinLon, double cosLat, double cosLon) Construct a GeoPoint from the trig functions of a lat and lon pair.GeoPoint(PlanetModel planetModel, double sinLat, double sinLon, double cosLat, double cosLon, double lat, double lon) Construct a GeoPoint from the trig functions of a lat and lon pair.GeoPoint(PlanetModel planetModel, InputStream inputStream) Construct a GeoPoint from an input stream.Plane(PlanetModel planetModel, double sinLat) Construct a horizontal plane at a specified Z.SidedPlane(Vector p, PlanetModel planetModel, double sinLat) Construct a sided plane from a point and a Z coordinate.