Interface GeometryStructure
- All Known Implementing Classes:
LatLngArray,MultiLatLngArray,MultiPolygon.MultiPolygonStructure
public interface GeometryStructure
Core interface to geometry structures
- Since:
- 2020-03-23
- Version:
- 1.0
- Author:
- Gabor Kokeny Email: kokeny19@gmail.com
-
Method Summary
Modifier and TypeMethodDescriptionCalculate the boundary of this geometry structurebooleanisEmpty()Returns true if the geometry structure has no LatLngs.
-
Method Details
-
isEmpty
boolean isEmpty()Returns true if the geometry structure has no LatLngs.- Returns:
- return true if this geometry structure has no coordinates otherwise return false.
-
getBounds
LatLngBounds getBounds()Calculate the boundary of this geometry structure- Returns:
- the
LatLngBoundsof the geometry
-