LineString.fromSequence constructor
LineString.fromSequence(
- CoordinateSequence? points,
- GeometryFactory factory
Constructs a LineString
with the given points.
@param points the points of the linestring, or null
to create the empty geometry.
@throws IllegalArgumentException if too few points are provided
Implementation
LineString.fromSequence(CoordinateSequence? points, GeometryFactory factory)
: super(factory) {
init(points);
}