public class GeoHash extends GeoShapeBase
| Constructor and Description |
|---|
GeoHash(double latitude,
double longitude,
int precision) |
GeoHash(String hash) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHash() |
int |
hashCode() |
boolean |
intersects(GeoShape geoShape)
Calculate whether the given GeoShape intersects with the geometry of this object.
|
GeoRect |
toGeoRect() |
String |
toString() |
boolean |
within(GeoShape geoShape)
Calculate whether this shape is completely within the geometry of the given object.
|
toArrayList, toArrayLists, validatepublic GeoHash(String hash)
public GeoHash(double latitude,
double longitude,
int precision)
public String getHash()
public GeoRect toGeoRect()
public boolean within(GeoShape geoShape)
GeoShapewithin in interface GeoShapewithin in class GeoShapeBasegeoShape - The other shapepublic boolean intersects(GeoShape geoShape)
GeoShapeintersects in interface GeoShapeintersects in class GeoShapeBasegeoShape - The other shapeCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.