createPolygonSeq method
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.
@throws IllegalArgumentException if the boundary ring is invalid
Implementation
Polygon createPolygonSeq(CoordinateSequence shell) {
return createPolygonFromRing(createLinearRingSeq(shell));
}