copyInternal method

LineString copyInternal()
override

An internal method to copy subclass-specific geometry data.

@return a copy of the target geometry object.

Implementation

LineString copyInternal() {
  return new LineString.fromSequence(points.copy(), geomFactory);
}