MultiPolygon constructor

MultiPolygon(
  1. List<Polygon> polygons,
  2. PrecisionModel precisionModel,
  3. int SRID
)

Constructs a MultiPolygon.

@param polygons the Polygons for this MultiPolygon , or null or an empty array to create the empty geometry. Elements may be empty Polygons, but not null s. The polygons must conform to the assertions specified in the OpenGIS Simple Features Specification for SQL . @param precisionModel the specification of the grid of allowable points for this MultiPolygon @param SRID the ID of the Spatial Reference System used by this MultiPolygon @deprecated Use GeometryFactory instead

Implementation

MultiPolygon(List<Polygon> polygons, PrecisionModel precisionModel, int SRID)
    : this.withFactory(polygons,
          new GeometryFactory.withPrecisionModelSrid(precisionModel, SRID));