Spring Data Document

org.springframework.data.document.mongodb.geo
Class Circle

java.lang.Object
  extended by org.springframework.data.document.mongodb.geo.Circle

public class Circle
extends Object

Represents a geospatial circle value

Author:
Mark Pollack

Constructor Summary
Circle(double centerX, double centerY, double radius)
           
 
Method Summary
 double[] getCenter()
           
 double getRadius()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Circle

public Circle(double centerX,
              double centerY,
              double radius)
Method Detail

getCenter

public double[] getCenter()

getRadius

public double getRadius()

toString

public String toString()
Overrides:
toString in class Object

Spring Data Document

Copyright © 2011. All Rights Reserved.