org.springframework.data.document.mongodb.geo
Class Box
java.lang.Object
org.springframework.data.document.mongodb.geo.Box
public class Box
- extends java.lang.Object
Represents a geospatial box value
- Author:
- Mark Pollack
Field Summary |
private double |
xmax
|
private double |
xmin
|
private double |
ymax
|
private double |
ymin
|
Constructor Summary |
Box(double[] lowerLeft,
double[] upperRight)
|
Box(Point lowerLeft,
Point upperRight)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
xmin
private double xmin
ymin
private double ymin
xmax
private double xmax
ymax
private double ymax
Box
public Box(Point lowerLeft,
Point upperRight)
Box
public Box(double[] lowerLeft,
double[] upperRight)
getLowerLeft
public Point getLowerLeft()
getUpperRight
public Point getUpperRight()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object