Package | Description |
---|---|
org.apache.lucene.spatial3d.geom |
Shapes implemented using 3D planar geometry.
|
Modifier and Type | Field and Description |
---|---|
protected PlanetModel |
BasePlanetObject.planetModel
This is the planet model embedded in all objects derived from this
class.
|
static PlanetModel |
PlanetModel.SPHERE
Planet model corresponding to sphere.
|
static PlanetModel |
PlanetModel.WGS84
Planet model corresponding to WGS84
|
Modifier and Type | Method and Description |
---|---|
PlanetModel |
BasePlanetObject.getPlanetModel()
Returns the
PlanetModel provided when this shape was created. |
Modifier and Type | Method and Description |
---|---|
Bounds |
XYZBounds.addHorizontalPlane(PlanetModel planetModel,
double latitude,
Plane horizontalPlane,
Membership... bounds)
Add a horizontal plane to the bounds description.
|
Bounds |
LatLonBounds.addHorizontalPlane(PlanetModel planetModel,
double latitude,
Plane horizontalPlane,
Membership... bounds) |
Bounds |
Bounds.addHorizontalPlane(PlanetModel planetModel,
double latitude,
Plane horizontalPlane,
Membership... bounds)
Add a horizontal plane to the bounds description.
|
Bounds |
XYZBounds.addIntersection(PlanetModel planetModel,
Plane plane1,
Plane plane2,
Membership... bounds) |
Bounds |
LatLonBounds.addIntersection(PlanetModel planetModel,
Plane plane1,
Plane plane2,
Membership... bounds) |
Bounds |
Bounds.addIntersection(PlanetModel planetModel,
Plane plane1,
Plane plane2,
Membership... bounds)
Add the intersection between two planes to the bounds description.
|
Bounds |
XYZBounds.addPlane(PlanetModel planetModel,
Plane plane,
Membership... bounds) |
Bounds |
LatLonBounds.addPlane(PlanetModel planetModel,
Plane plane,
Membership... bounds) |
Bounds |
Bounds.addPlane(PlanetModel planetModel,
Plane plane,
Membership... bounds)
Add a general plane to the bounds description.
|
Bounds |
XYZBounds.addVerticalPlane(PlanetModel planetModel,
double longitude,
Plane verticalPlane,
Membership... bounds)
Add a vertical plane to the bounds description.
|
Bounds |
LatLonBounds.addVerticalPlane(PlanetModel planetModel,
double longitude,
Plane verticalPlane,
Membership... bounds) |
Bounds |
Bounds.addVerticalPlane(PlanetModel planetModel,
double longitude,
Plane verticalPlane,
Membership... bounds)
Add a vertical plane to the bounds description.
|
double |
Plane.arcDistance(PlanetModel planetModel,
double x,
double y,
double z,
Membership... bounds)
Compute arc distance from plane to a vector.
|
double |
Plane.arcDistance(PlanetModel planetModel,
GeoPoint v,
Membership... bounds)
Compute arc distance from plane to a vector expressed with a
GeoPoint . |
double |
ArcDistance.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds) |
double |
NormalDistance.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds) |
double |
DistanceStyle.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds)
Compute the distance from a plane to a point.
|
double |
NormalSquaredDistance.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds) |
double |
LinearDistance.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds) |
double |
LinearSquaredDistance.computeDistance(PlanetModel planetModel,
Plane plane,
double x,
double y,
double z,
Membership... bounds) |
double |
ArcDistance.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds) |
double |
NormalDistance.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds) |
default double |
DistanceStyle.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds)
Compute the distance from a plane to a point.
|
double |
NormalSquaredDistance.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds) |
double |
LinearDistance.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds) |
double |
LinearSquaredDistance.computeDistance(PlanetModel planetModel,
Plane plane,
GeoPoint point,
Membership... bounds) |
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[] |
NormalDistance.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[] |
NormalSquaredDistance.findDistancePoints(PlanetModel planetModel,
double distanceValue,
GeoPoint startPoint,
Plane plane,
Membership... 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) |
protected void |
Plane.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.
|
double |
ArcDistance.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
NormalDistance.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
DistanceStyle.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue)
Given a distance metric, find the maximum arc distance represented by the distance metric.
|
double |
NormalSquaredDistance.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
LinearDistance.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
LinearSquaredDistance.findMaximumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
ArcDistance.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
NormalDistance.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
DistanceStyle.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue)
Given a distance metric, find the minimum arc distance represented by that distance metric.
|
double |
NormalSquaredDistance.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
LinearDistance.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue) |
double |
LinearSquaredDistance.findMinimumArcDistance(PlanetModel planetModel,
double distanceValue) |
GeoPoint |
Plane.getSampleIntersectionPoint(PlanetModel planetModel,
Plane q)
Find a sample point on the intersection between two planes and the world.
|
boolean |
Plane.intersects(PlanetModel planetModel,
Plane q,
GeoPoint[] notablePoints,
GeoPoint[] moreNotablePoints,
Membership[] bounds,
Membership... moreBounds)
Determine whether the plane intersects another plane within the
bounds provided.
|
boolean |
XYZBounds.isLargestMaxX(PlanetModel planetModel)
Return true if maxX is as large as the planet model allows.
|
boolean |
XYZBounds.isLargestMaxY(PlanetModel planetModel)
Return true if maxY is as large as the planet model allows.
|
boolean |
XYZBounds.isLargestMaxZ(PlanetModel planetModel)
Return true if maxZ is as large as the planet model allows.
|
boolean |
XYZBounds.isSmallestMinX(PlanetModel planetModel)
Return true if minX is as small as the planet model allows.
|
boolean |
XYZBounds.isSmallestMinY(PlanetModel planetModel)
Return true if minY is as small as the planet model allows.
|
boolean |
XYZBounds.isSmallestMinZ(PlanetModel planetModel)
Return true if minZ is as small as the planet model allows.
|
double |
Plane.linearDistance(PlanetModel planetModel,
double x,
double y,
double z,
Membership... bounds)
Compute linear distance from plane to a vector.
|
double |
Plane.linearDistance(PlanetModel planetModel,
GeoPoint v,
Membership... bounds)
Compute linear distance from plane to a vector.
|
double |
Plane.linearDistanceSquared(PlanetModel planetModel,
double x,
double y,
double z,
Membership... bounds)
Compute linear distance squared from plane to a vector.
|
double |
Plane.linearDistanceSquared(PlanetModel planetModel,
GeoPoint v,
Membership... bounds)
Compute linear distance squared from plane to a vector.
|
static GeoArea |
GeoAreaFactory.makeGeoArea(PlanetModel planetModel,
double topLat,
double bottomLat,
double leftLon,
double rightLon)
Create a GeoArea of the right kind given the specified bounds.
|
static GeoArea |
GeoAreaFactory.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 GeoBBox |
GeoBBoxFactory.makeGeoBBox(PlanetModel planetModel,
double topLat,
double bottomLat,
double leftLon,
double rightLon)
Create a geobbox of the right kind given the specified bounds.
|
static GeoCircle |
GeoCircleFactory.makeGeoCircle(PlanetModel planetModel,
double latitude,
double longitude,
double radius)
Create a GeoCircle of the right kind given the specified bounds.
|
static GeoPath |
GeoPathFactory.makeGeoPath(PlanetModel planetModel,
double maxCutoffAngle,
GeoPoint[] pathPoints)
Create a GeoPath of the right kind given the specified information.
|
static GeoPolygon |
GeoPolygonFactory.makeGeoPolygon(PlanetModel planetModel,
List<GeoPoint> pointList)
Create a GeoPolygon using the specified points and holes, using order to determine
siding of the polygon.
|
static GeoPolygon |
GeoPolygonFactory.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 GeoPolygon |
GeoPolygonFactory.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 GeoPolygon |
GeoPolygonFactory.makeLargeGeoPolygon(PlanetModel planetModel,
List<GeoPolygonFactory.PolygonDescription> shapesList)
Create a large GeoPolygon.
|
static XYZSolid |
XYZSolidFactory.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.
|
Bounds |
XYZBounds.noBound(PlanetModel planetModel) |
Bounds |
LatLonBounds.noBound(PlanetModel planetModel) |
Bounds |
Bounds.noBound(PlanetModel planetModel)
Signal that there is no bound whatsoever.
|
void |
Plane.recordBounds(PlanetModel planetModel,
LatLonBounds boundsInfo,
Membership... bounds)
Accumulate bounds information for this plane, intersected with the unit sphere.
|
void |
Plane.recordBounds(PlanetModel planetModel,
LatLonBounds boundsInfo,
Plane p,
Membership... bounds)
Accumulate bounds information for this plane, intersected with another plane
and the world.
|
void |
Plane.recordBounds(PlanetModel planetModel,
XYZBounds boundsInfo,
Membership... bounds)
Accumulate (x,y,z) bounds information for this plane, intersected with the unit sphere.
|
void |
Plane.recordBounds(PlanetModel planetModel,
XYZBounds boundsInfo,
Plane p,
Membership... bounds)
Accumulate (x,y,z) bounds information for this plane, intersected with another and the
world.
|
Constructor and Description |
---|
BasePlanetObject(PlanetModel planetModel)
Constructor creating class instance given a planet model.
|
GeoBaseDistanceShape(PlanetModel planetModel)
Constructor.
|
GeoBaseMembershipShape(PlanetModel planetModel)
Constructor.
|
GeoBaseShape(PlanetModel planetModel)
Constructor.
|
GeoDegenerateVerticalLine(PlanetModel planetModel,
double topLat,
double bottomLat,
double longitude)
Accepts only values in the following ranges: lat:
-PI/2 -> PI/2 , longitude: -PI -> PI |
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.
|
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.
|
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.