public final class Circle extends LatLonGeometry
NOTES:
spatial-extras
module
Constructor and Description |
---|
Circle(double lat,
double lon,
double radiusMeters)
Creates a new circle from the supplied latitude/longitude center and a radius in meters..
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
double |
getLat()
Returns the center's latitude
|
double |
getLon()
Returns the center's longitude
|
double |
getRadius()
Returns the radius in meters
|
int |
hashCode() |
protected Component2D |
toComponent2D()
get a
Component2D from this geometry |
String |
toString() |
create
public Circle(double lat, double lon, double radiusMeters)
public double getLat()
public double getLon()
public double getRadius()
protected Component2D toComponent2D()
LatLonGeometry
Component2D
from this geometrytoComponent2D
in class LatLonGeometry
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.