Class GeoSearchShape

    • Constructor Summary

      Constructors 
      Constructor Description
      GeoSearchShape​(double width, double height, GeoUnit unit)
      Defines a rectangular search area.
      GeoSearchShape​(double radius, GeoUnit unit)
      Defines a circular search area.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String[] toArgs()
      Converts GeoSearchShape into a String[].
      • Methods inherited from class java.lang.Object

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

      • GeoSearchShape

        public GeoSearchShape​(double radius,
                              GeoUnit unit)
        Defines a circular search area.
        Parameters:
        radius - The radius to search by.
        unit - The measurement unit of the radius.
      • GeoSearchShape

        public GeoSearchShape​(double width,
                              double height,
                              GeoUnit unit)
        Defines a rectangular search area.
        Parameters:
        width - The width to search by.
        height - The height to search by.
        unit - The measurement unit of the width and height.
    • Method Detail

      • toArgs

        public java.lang.String[] toArgs()
        Converts GeoSearchShape into a String[].
        Returns:
        String[] An array containing arguments corresponding to the shape to search by.