use of com.revolsys.geometry.model.MultiPolygon in project com.revolsys.open by revolsys.
the class PreparedMultiPolygon method preparePolygons.
private static Polygon[] preparePolygons(final MultiPolygon polygonal) {
final Polygon[] polygons = new Polygon[polygonal.getPolygonCount()];
for (int i = 0; i < polygons.length; i++) {
final Polygon polygon = polygonal.getPolygon(i);
polygons[i] = polygon.prepare();
}
return polygons;
}
Aggregations