public class GeoCircleFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static GeoCircle |
makeExactGeoCircle(PlanetModel planetModel,
double latitude,
double longitude,
double radius,
double accuracy)
Create an exact GeoCircle given specified bounds and desired accuracy.
|
static GeoCircle |
makeGeoCircle(PlanetModel planetModel,
double latitude,
double longitude,
double radius)
Create a GeoCircle of the right kind given the specified bounds.
|
public static GeoCircle makeGeoCircle(PlanetModel planetModel, double latitude, double longitude, double radius)
planetModel - is the planet model.latitude - is the center latitude.longitude - is the center longitude.radius - is the radius angle.public static GeoCircle makeExactGeoCircle(PlanetModel planetModel, double latitude, double longitude, double radius, double accuracy)
planetModel - is the planet model.latitude - is the center latitude.longitude - is the center longitude.radius - is the radius surface distance.accuracy - is the maximum linear distance between the circle approximation and the real circle, as computed using
the Vincenty formula.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.