private static final Polygon toPolygon(SimplePolygonXZ polygon) {
List<PolygonPoint> points = new ArrayList<PolygonPoint>(polygon.size());
for (VectorXZ v : polygon.getVertices()) {
points.add(new PolygonPoint(v.x, v.z));
}
return new Polygon(points);
}