def transform_all(otherProjection, collection)
      newcollection = collection.dup.clear
      collection.each do |point|
        newcollection << transform(otherProjection, point)
      end
      newcollection
    end
def transform_all(otherProjection, collection)
      newcollection = collection.dup.clear
      collection.each do |point|
        newcollection << transform(otherProjection, point)
      end
      newcollection
    end
Transforms all points in a collection from one projection to
 another. The +collection+ object must implement the +each+,
 +clear+, and << methods (just like an Array) for this to work.

 call-seq: transform_all(destinationProjection, collection) -> collection