public class GeoLine extends GeoShapeBase
EARTH_CIRCUMFERENCE, EARTH_RADIUS, MAX_LAT, MAX_LON, MIN_LAT, MIN_LON| Constructor and Description |
|---|
GeoLine(GeoPoint start,
GeoPoint end) |
GeoLine(GeoPoint start,
GeoPoint end,
String description) |
GeoLine(List<GeoPoint> geoPoints) |
GeoLine(List<GeoPoint> geoPoints,
String description) |
| Modifier and Type | Method and Description |
|---|---|
GeoLine |
addGeoPoint(GeoPoint geoPoint) |
GeoLine |
addGeoPoints(List<GeoPoint> geoPoints) |
boolean |
equals(Object obj) |
List<GeoPoint> |
getGeoPoints() |
int |
hashCode() |
boolean |
intersects(GeoShape geoShape)
Calculate whether the given GeoShape intersects with the geometry of this object.
|
void |
setGeoPoints(List<GeoPoint> geoPoints) |
String |
toString() |
void |
validate()
Throw a VertexiumException if the requirements for this shape are not met.
|
boolean |
within(GeoShape geoShape)
Calculate whether the given GeoShape is completely within the geometry of this object.
|
distanceBetween, getDescriptionpublic boolean intersects(GeoShape geoShape)
GeoShapegeoShape - The other shapepublic boolean within(GeoShape geoShape)
GeoShapegeoShape - The other shapepublic void validate()
GeoShapevalidate in interface GeoShapevalidate in class GeoShapeBaseCopyright © 2014–2018. All rights reserved.