Polygon constructor
Polygon(
- LinearRing shell,
- PrecisionModel precisionModel,
- int SRID
Constructs a Polygon
with the given exterior boundary.
@param shell the outer boundary of the new Polygon
,
or null
or an empty LinearRing
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(LinearRing shell, PrecisionModel precisionModel, int SRID)
: this.withFactory(shell, <LinearRing>[],
new GeometryFactory.withPrecisionModelSrid(precisionModel, SRID));