public class GeoCollection extends GeoShapeBase
| Constructor and Description |
|---|
GeoCollection() |
GeoCollection(List<GeoShape> geoShapes) |
| 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 GeInvalidShapeException if the requirements for this shape are not met.
|
boolean |
within(GeoShape geoShape)
Calculate whether this shape is completely within the geometry of the given object.
|
toArrayList, toArrayListspublic boolean intersects(GeoShape geoShape)
GeoShapeintersects in interface GeoShapeintersects in class GeoShapeBasegeoShape - The other shapepublic boolean within(GeoShape geoShape)
GeoShapewithin in interface GeoShapewithin in class GeoShapeBasegeoShape - The other shapepublic GeoCollection addShape(GeoShape geoShape)
public GeoCollection addShapes(List<GeoShape> geoShapes)
public void validate()
GeoShapevalidate in interface GeoShapevalidate in class GeoShapeBaseCopyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.