public abstract class GeoShapeBase extends Object implements GeoShape, Serializable
| Constructor and Description |
|---|
GeoShapeBase() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
intersects(GeoShape geoShape)
Calculate whether the given GeoShape intersects with the geometry of this object.
|
protected <T> List<T> |
toArrayList(List<T> list)
This is used to fix Kryo serialization issues with lists generated from methods such as
Arrays.asList(Object[]) |
protected <T> List<? extends List<T>> |
toArrayLists(List<List<T>> lists)
This is used to fix Kryo serialization issues with lists generated from methods such as
Arrays.asList(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.
|
public void validate()
GeoShapepublic boolean intersects(GeoShape geoShape)
GeoShapeintersects in interface GeoShapegeoShape - The other shapepublic boolean within(GeoShape geoShape)
GeoShapeprotected <T> List<? extends List<T>> toArrayLists(List<List<T>> lists)
Arrays.asList(Object[])protected <T> List<T> toArrayList(List<T> list)
Arrays.asList(Object[])Copyright © 2016–2021 MWARE SOLUTIONS. All rights reserved.