copy method

Coordinate copy()

@return {!goog.math.Coordinate} A new copy of this Coordinate.

Implementation

Coordinate copy()
{
  return new Coordinate(this.x, this.y);
}