Class QueryOperation.BoundingCircle

  • Enclosing class:
    QueryOperation<T>

    public static class QueryOperation.BoundingCircle
    extends java.lang.Object
    Model representing a bounding circle in geocoordinates.
    • Constructor Summary

      Constructors 
      Constructor Description
      BoundingCircle​(double centerLatitude, double centerLongitude, double radius)
      Simple constructor of bounding circle.
      BoundingCircle​(QueryOperation.Location center, double radius)
      Type safe constructor of bounding circle.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BoundingCircle

        public BoundingCircle​(QueryOperation.Location center,
                              double radius)
        Type safe constructor of bounding circle.
        Parameters:
        center - position of circle on the globe in geo location.
        radius - the radius of the circle in kilometer.
      • BoundingCircle

        public BoundingCircle​(double centerLatitude,
                              double centerLongitude,
                              double radius)
        Simple constructor of bounding circle.
        Parameters:
        centerLatitude - center coordinate on latitude axis.
        centerLongitude - center coordinate of circle, on longitude axis.
        radius - in km.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        returns a url friendly representation.