|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.geo.Circle
public class Circle
Represents a geospatial circle value
| Constructor Summary | |
|---|---|
Circle(double centerX,
double centerY,
double radius)
Creates a new Circle from the given coordinates and radius as Distance with a
Metrics.NEUTRAL. |
|
Circle(Point center,
Distance radius)
Creates a new Circle from the given Point and radius. |
|
Circle(Point center,
double radius)
Creates a new Circle from the given Point and radius. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Point |
getCenter()
Returns the center of the Circle. |
Distance |
getRadius()
Returns the radius of the Circle. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Circle(Point center,
Distance radius)
Circle from the given Point and radius.
center - must not be null.radius - must not be null and it's value greater or equal to zero.
public Circle(Point center,
double radius)
Circle from the given Point and radius.
center - must not be null.radius's - value must be greater or equal to zero.
public Circle(double centerX,
double centerY,
double radius)
Circle from the given coordinates and radius as Distance with a
Metrics.NEUTRAL.
centerX - centerY - radius - must be greater or equal to zero.| Method Detail |
|---|
public Point getCenter()
Circle.
public Distance getRadius()
Circle.
public String toString()
toString in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||