createMultiPolygon method
Creates a MultiPolygon using the given Polygons; a null or empty array will create an empty Polygon. The polygons must conform to the assertions specified in the OpenGIS Simple Features Specification for SQL.
@param polygons Polygons, each of which may be empty but not null @return the created MultiPolygon
Implementation
MultiPolygon createMultiPolygon(List<Polygon>? polygons) {
return new MultiPolygon.withFactory(polygons, this);
}