com.factual.driver
Class Circle

java.lang.Object
  extended by com.factual.driver.Circle

public class Circle
extends Object

Represents a geographic sub query confining results to a circle.

Author:
aaron

Constructor Summary
Circle(Coord coord, int meters)
           
Circle(double lat, double lon, int meters)
          Constructs a geographic Circle representation.
 
Method Summary
 String toJsonStr()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Circle

public Circle(double lat,
              double lon,
              int meters)
Constructs a geographic Circle representation.

Parameters:
lat - the latitude of the center of this Circle.
lon - the longitude of the center of this Circle.
metersRadius - the radius, in meters, of this Circle.

Circle

public Circle(Coord coord,
              int meters)
Method Detail

toJsonStr

public String toJsonStr()


Copyright © 2012. All Rights Reserved.