copyInternal method

MultiPoint copyInternal()
override

An internal method to copy subclass-specific geometry data.

@return a copy of the target geometry object.

Implementation

MultiPoint copyInternal() {
  List<Point> points = []; //..length = this.geometries.length;
  for (int i = 0; i < this.geometries.length; i++) {
    points.add(this.geometries[i].copy() as Point);
  }
  return new MultiPoint.withFactory(points, geomFactory);
}