public class GeoCollection extends GeoShapeBase
EARTH_CIRCUMFERENCE, EARTH_RADIUS, MAX_LAT, MAX_LON, MIN_LAT, MIN_LON| Constructor and Description |
|---|
GeoCollection() |
GeoCollection(List<GeoShape> geoShapes) |
GeoCollection(List<GeoShape> geoShapes,
String description) |
GeoCollection(String description) |
| Modifier and Type | Method and Description |
|---|---|
GeoCollection |
addShape(GeoShape geoShape) |
GeoCollection |
addShapes(List<GeoShape> geoShapes) |
boolean |
equals(Object obj) |
List<GeoShape> |
getGeoShapes() |
int |
hashCode() |
boolean |
intersects(GeoShape geoShape)
Calculate whether the given GeoShape intersects with the geometry of this object.
|
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 GeoCollection()
public GeoCollection(String description)
public boolean intersects(GeoShape geoShape)
GeoShapegeoShape - The other shapepublic boolean within(GeoShape geoShape)
GeoShapegeoShape - The other shapepublic GeoCollection addShape(GeoShape geoShape)
public GeoCollection addShapes(List<GeoShape> geoShapes)
public void validate()
GeoShapevalidate in interface GeoShapevalidate in class GeoShapeBaseCopyright © 2014–2018. All rights reserved.