}
@Test
public void toGeometry() {
PolygonElement hexagon = new HexagonImpl(0.0, 0.0, SIDE_LEN, HexagonOrientation.FLAT, null);
Geometry polygon = hexagon.toGeometry();
assertNotNull(polygon);
assertTrue(polygon instanceof Polygon);
Set<Coordinate> polyCoords = new HashSet<Coordinate>(Arrays.asList(polygon.getCoordinates()));
for (Coordinate c : hexagon.getVertices()) {