Package org.geotools.grid
Interface PolygonElement
-
- All Superinterfaces:
GridElement
- All Known Implementing Classes:
HexagonImpl,OblongImpl,OvalImpl
public interface PolygonElement extends GridElement
Represents aGridElementthat is a polygon.- Author:
- michael
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetArea()Gets the area of this grid element.CoordinategetCenter()Gets the center coordinates of this grid element.-
Methods inherited from interface GridElement
getBounds, getVertices, toDenseGeometry, toGeometry
-
-
-
-
Method Detail
-
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
-
-