org.apache.lucene.geo3d

## Class GeoCircleFactory

- java.lang.Object
- - org.apache.lucene.geo3d.GeoCircleFactory

-     public class GeoCircleFactory
      extends Object

  Class which constructs a GeoCircle representing an arbitrary circle.
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static GeoCircle` | `makeGeoCircle(PlanetModel planetModel, double latitude, double longitude, double radius)` Create a GeoCircle of the right kind given the specified bounds.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### makeGeoCircle

          public static GeoCircle makeGeoCircle(PlanetModel planetModel,
                                double latitude,
                                double longitude,
                                double radius)

      Create a GeoCircle of the right kind given the specified bounds.
      Parameters:
        `planetModel` - is the planet model.
        `latitude` - is the center latitude.
        `longitude` - is the center longitude.
        `radius` - is the radius angle.
      Returns:
        a GeoCircle corresponding to what was specified.

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.