Package org.geotools.grid
Interface PolygonElement
- All Superinterfaces:
GridElement
- All Known Implementing Classes:
HexagonImpl
,OblongImpl
,OvalImpl
Represents a
GridElement
that is a polygon.- Author:
- michael
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getArea()
Gets the area of this grid element.Gets the center coordinates of this grid element.Methods inherited from interface GridElement
getBounds, getVertices, toDenseGeometry, toGeometry
-
Method Details
-
getArea
double getArea()Gets the area of this grid element.- Returns:
- the area
-
getCenter
Coordinate getCenter()Gets the center coordinates of this grid element.- Returns:
- the center coordinates
-