copyPoint

public static Point copyPoint(Point point)

Copies a Point, but with a different reference location in the memory. So basically a deep copy.

Return

returns the copied Point.

Parameters

point

the Point to be deep copied.