Retrive the coordinates for an index.
a Curve.
the position of the value number to retrieve.
x coordinate return location.
y coordinate return location.