Replace an existing point in a curve.
a Curve.
the position of the value number to retrieve.
x coordinate
y coordinate