LinearRing.withFactory constructor
LinearRing.withFactory(
- List<
Coordinate> points, - GeometryFactory factory
This method is ONLY used to avoid deprecation warnings. @param points @param factory @throws IllegalArgumentException if the ring is not closed, or has too few points
Implementation
LinearRing.withFactory(List<Coordinate> points, GeometryFactory factory)
: this.fromSequence(
factory.getCoordinateSequenceFactory().create(points), factory);