public abstract class GeoShapeBase extends Object implements GeoShape, Serializable
| Modifier and Type | Field and Description |
|---|---|
static double |
EARTH_CIRCUMFERENCE |
static double |
EARTH_RADIUS |
static double |
MAX_LAT |
static double |
MAX_LON |
static double |
MIN_LAT |
static double |
MIN_LON |
| Constructor and Description |
|---|
GeoShapeBase() |
GeoShapeBase(String description) |
| Modifier and Type | Method and Description |
|---|---|
double |
distanceBetween(double latitude1,
double longitude1,
double latitude2,
double longitude2) |
String |
getDescription() |
void |
validate()
Throw a VertexiumException if the requirements for this shape are not met.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitintersects, withinpublic static double EARTH_RADIUS
public static double EARTH_CIRCUMFERENCE
public static final double MIN_LAT
public static final double MAX_LAT
public static final double MIN_LON
public static final double MAX_LON
public GeoShapeBase()
public GeoShapeBase(String description)
public void validate()
GeoShapepublic String getDescription()
getDescription in interface GeoShapepublic double distanceBetween(double latitude1,
double longitude1,
double latitude2,
double longitude2)
Copyright © 2014–2018. All rights reserved.