The Point2D struct is a convenience struct for accessing 2D Points. Sets the x and y values of this point to x and y.