LinearRing constructor
LinearRing(
- List<
Coordinate> points, - PrecisionModel precisionModel,
- int SRID
Constructs a LinearRing
with the given points.
@param points points forming a closed and simple linestring, or
null
or an empty array to create the empty geometry.
This array must not contain null
elements.
@param precisionModel the specification of the grid of allowable points
for this LinearRing
@param SRID the ID of the Spatial Reference System used by this
LinearRing
@throws IllegalArgumentException if the ring is not closed, or has too few points
@deprecated Use GeometryFactory instead
Implementation
LinearRing(List<Coordinate> points, PrecisionModel precisionModel, int SRID)
: this.withFactory(points,
new GeometryFactory.withPrecisionModelSrid(precisionModel, SRID));