MultiPolygon constructor
MultiPolygon(
- List<
Polygon> polygons, - PrecisionModel precisionModel,
- int SRID
Constructs a MultiPolygon
.
@param polygons the Polygon
s for this MultiPolygon
, or null
or an empty array to create the empty geometry.
Elements may be empty Polygon
s, 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));