Ellipse.
distance
Compute the distance in the v direction between the ellipse and the points defined by (x, y).
x : x coordinates of the points
y : y coordinates of the points
v : direction of interest
array of distances