org.springframework.data.document.mongodb.geo
Class Circle
java.lang.Object
org.springframework.data.document.mongodb.geo.Circle
public class Circle
- extends java.lang.Object
Represents a geospatial circle value
- Author:
- Mark Pollack, Oliver Gierke
Constructor Summary |
Circle(double centerX,
double centerY,
double radius)
|
Circle(Point center,
double radius)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
center
private Point center
radius
private double radius
Circle
public Circle(Point center,
double radius)
Circle
public Circle(double centerX,
double centerY,
double radius)
getCenter
public Point getCenter()
getRadius
public double getRadius()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object