Package org.geotools.grid
Interface PolygonElement
-
- All Superinterfaces:
GridElement
- All Known Implementing Classes:
HexagonImpl
,OblongImpl
,OvalImpl
public interface PolygonElement extends GridElement
Represents aGridElement
that is a polygon.- Author:
- michael
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getArea()
Gets the area of this grid element.Coordinate
getCenter()
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
-
-