org.geotools.grid
Interface PolygonElement

All Superinterfaces:
GridElement
All Known Subinterfaces:
Hexagon, Oblong
All Known Implementing Classes:
HexagonImpl, OblongImpl

public interface PolygonElement
extends GridElement

Represents a GridElement that is a polygon.

Author:
michael

Method Summary
 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


Copyright © 1996-2014 Geotools. All Rights Reserved.