Package | Description |
---|---|
org.apache.lucene.spatial.spatial4j.geo3d |
Shapes implemented using 3D planar geometry.
|
Modifier and Type | Class and Description |
---|---|
class |
GeoDegeneratePoint
This class represents a degenerate point bounding box.
|
class |
GeoPoint
This class represents a point on the surface of a unit sphere.
|
class |
Plane
We know about three kinds of planes.
|
class |
SidedPlane
Combination of a plane, and a sign value indicating what evaluation values are on the correct
side of the plane.
|
Modifier and Type | Method and Description |
---|---|
protected static Vector |
Plane.modify(GeoPoint start,
double transX,
double transY,
double transZ,
double sinRA,
double cosRA,
double sinHA,
double cosHA)
Modify a point to produce a vector in translated/rotated space.
|
Vector |
Vector.normalize()
Compute a normalized unit vector based on the current vector.
|
Vector |
Vector.rotateXY(double angle)
Rotate vector counter-clockwise in x-y by an angle.
|
Vector |
Vector.rotateXY(double sinAngle,
double cosAngle)
Rotate vector counter-clockwise in x-y by an angle, expressed as sin and cos.
|
Vector |
Vector.rotateXZ(double angle)
Rotate vector counter-clockwise in x-z by an angle.
|
Vector |
Vector.rotateXZ(double sinAngle,
double cosAngle)
Rotate vector counter-clockwise in x-z by an angle, expressed as sin and cos.
|
Vector |
Vector.rotateZY(double angle)
Rotate vector counter-clockwise in z-y by an angle.
|
Vector |
Vector.rotateZY(double sinAngle,
double cosAngle)
Rotate vector counter-clockwise in z-y by an angle, expressed as sin and cos.
|
Vector |
Vector.translate(double xOffset,
double yOffset,
double zOffset)
Translate vector.
|
Modifier and Type | Method and Description |
---|---|
Bounds |
Bounds.addPoint(Vector v) |
double |
Vector.dotProduct(Vector v)
Do a dot product.
|
double |
Plane.evaluate(Vector v)
Evaluate the plane equation for a given point, as represented
by a vector.
|
boolean |
Plane.evaluateIsZero(Vector v)
Evaluate the plane equation for a given point, as represented
by a vector.
|
abstract boolean |
GeoBBoxBase.isWithin(Vector point) |
boolean |
GeoCircle.isWithin(Vector point) |
boolean |
GeoNorthLatitudeZone.isWithin(Vector point) |
boolean |
GeoNorthRectangle.isWithin(Vector point) |
boolean |
GeoLatitudeZone.isWithin(Vector point) |
boolean |
GeoWorld.isWithin(Vector point) |
boolean |
GeoDegenerateLongitudeSlice.isWithin(Vector point) |
boolean |
GeoRectangle.isWithin(Vector point) |
boolean |
GeoDegeneratePoint.isWithin(Vector point)
Check if a point is within this shape.
|
boolean |
GeoCompositeMembershipShape.isWithin(Vector point) |
boolean |
GeoWideRectangle.isWithin(Vector point) |
boolean |
GeoWideRectangle.EitherBound.isWithin(Vector v) |
boolean |
GeoConvexPolygon.isWithin(Vector point) |
boolean |
GeoDegenerateHorizontalLine.isWithin(Vector point) |
boolean |
GeoWideDegenerateHorizontalLine.isWithin(Vector point) |
boolean |
GeoWideDegenerateHorizontalLine.EitherBound.isWithin(Vector v) |
boolean |
GeoDegenerateVerticalLine.isWithin(Vector point) |
abstract boolean |
GeoBaseExtendedShape.isWithin(Vector point)
Check if a point is within this shape.
|
boolean |
GeoLongitudeSlice.isWithin(Vector point) |
boolean |
GeoDegenerateLatitudeZone.isWithin(Vector point) |
boolean |
GeoWideSouthRectangle.isWithin(Vector point) |
boolean |
GeoWideSouthRectangle.EitherBound.isWithin(Vector v) |
boolean |
SidedPlane.isWithin(Vector point)
Check if a point is within this shape.
|
boolean |
GeoPath.isWithin(Vector point) |
boolean |
GeoPath.SegmentEndpoint.isWithin(Vector point) |
boolean |
GeoPath.PathSegment.isWithin(Vector point) |
boolean |
GeoSouthLatitudeZone.isWithin(Vector point) |
boolean |
Membership.isWithin(Vector point)
Check if a point is within this shape.
|
boolean |
GeoSouthRectangle.isWithin(Vector point) |
boolean |
GeoWideLongitudeSlice.isWithin(Vector point) |
boolean |
GeoWideNorthRectangle.isWithin(Vector point) |
boolean |
GeoWideNorthRectangle.EitherBound.isWithin(Vector v) |
double |
Vector.linearDistance(Vector v)
Compute the straight-line distance to a point described by the
vector taken from the origin.
|
double |
Vector.linearDistanceSquared(Vector v)
Compute the square of a straight-line distance to a point described by the
vector taken from the origin.
|
double |
Vector.normalDistance(Vector v)
Compute the normal (perpendicular) distance to a vector described by a
vector taken from the origin.
|
double |
Vector.normalDistanceSquared(Vector v)
Compute the square of the normal distance to a vector described by a
vector taken from the origin.
|
protected static GeoPoint |
Plane.reverseModify(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.
|
Constructor and Description |
---|
Plane(Vector v,
double D)
Construct a plane with a specific vector, and D offset
from origin.
|
Plane(Vector A,
Vector B)
Construct a plane through two points and origin.
|
SidedPlane(Vector p,
double height)
Construct a sided plane from a point and a Z coordinate.
|
SidedPlane(Vector p,
double x,
double y)
Construct a sided vertical plane from a point and specified x and y coordinates.
|
SidedPlane(Vector p,
Vector v,
double D)
Construct a sided plane with a normal vector and offset.
|
SidedPlane(Vector p,
Vector A,
Vector B)
Construct a sided plane from a pair of vectors describing points, and including
origin, plus a point p which describes the side.
|
Vector(Vector A,
Vector B)
Construct a vector that is perpendicular to
two other (non-zero) vectors.
|
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.