Package | Description |
---|---|
org.hibernate.search.spatial.impl |
Modifier and Type | Field and Description |
---|---|
static Point |
GeometricConstants.NORTH_POLE |
static Point |
GeometricConstants.SOUTH_POLE |
Modifier and Type | Method and Description |
---|---|
Point |
Point.computeDestination(double distance,
double heading)
Calculate end of travel point
|
static Point |
Point.fromCoordinates(Coordinates center) |
static Point |
Point.fromDegrees(double latitude,
double longitude) |
static Point |
Point.fromDegreesInclusive(double latitude,
double longitude) |
static Point |
Point.fromRadians(double latitude,
double longitude) |
Point |
Rectangle.getLowerLeft() |
Point |
Rectangle.getUpperRight() |
Modifier and Type | Method and Description |
---|---|
double |
Point.getDistanceTo(Point other)
Compute distance between two points
|
static String |
SpatialHelper.getQuadTreeCellId(Point point,
int quadTreeLevel)
Generate a Quad Tree Cell Id (with both Cell Index on both dimension in it) for a position
|
static List<String> |
SpatialHelper.getQuadTreeCellsIds(Point lowerLeft,
Point upperRight,
int quadTreeLevel)
Generate a Quad Tree Cell Ids List covered by a bounding box
|
static double[] |
SpatialHelper.projectToIndexSpace(Point point)
Project a degree latitude/longitude point into a sinusoidal projection planar space for quad tree cell ids
computation
|
Constructor and Description |
---|
DistanceComparator(Point center,
int hitsCount,
String fieldname) |
Rectangle(Point lowerLeft,
Point upperRight) |
Copyright © 2006–2014 Hibernate. All rights reserved.