createLinearRingSeq method
Creates a {@link LinearRing} using the given {@link CoordinateSequence}. A null or empty array creates an empty LinearRing. The points must form a closed and simple linestring.
@param coordinates a CoordinateSequence (possibly empty), or null @return the created LinearRing @throws IllegalArgumentException if the ring is not closed, or has too few points
Implementation
LinearRing createLinearRingSeq(CoordinateSequence? coordinates) {
return new LinearRing.fromSequence(coordinates, this);
}