Polygon.withPrecisionModelSrid constructor
Polygon.withPrecisionModelSrid(
- LinearRing shell,
- List<
LinearRing> holes, - PrecisionModel precisionModel,
- int SRID,
Constructs a Polygon
with the given exterior boundary and
interior boundaries.
@param shell the outer boundary of the new Polygon
,
or null
or an empty LinearRing
if the empty
geometry is to be created.
@param holes the inner boundaries of the new Polygon
, or null
or empty LinearRing
s if the empty
geometry is to be created.
@param precisionModel the specification of the grid of allowable points
for this Polygon
@param SRID the ID of the Spatial Reference System used by this
Polygon
@deprecated Use GeometryFactory instead
Implementation
Polygon.withPrecisionModelSrid(LinearRing shell, List<LinearRing> holes,
PrecisionModel precisionModel, int SRID)
: this.withFactory(shell, holes,
new GeometryFactory.withPrecisionModelSrid(precisionModel, SRID));