org.hibernate.search.spatial.impl
public final class Rectangle extends Object
| Constructor and Description |
|---|
Rectangle(Point lowerLeft,
Point upperRight) |
| Modifier and Type | Method and Description |
|---|---|
static Rectangle |
fromBoundingCircle(Coordinates centerCoordinates,
double radius)
Compute appropriate bounding box on Earth with pole and prime meridian crossing checks
|
Point |
getLowerLeft() |
Point |
getUpperRight() |
public static Rectangle fromBoundingCircle(Coordinates centerCoordinates, double radius)
centerCoordinates - of the search arearadius - of the search areapublic Point getLowerLeft()
public Point getUpperRight()
Copyright © 2006-2015 Red Hat, Inc. All Rights Reserved