method
Parallelogram.
distance
Compute the distance in the v direction between the parallelogram and the points defined by (x, y).
coordinates of the points
direction of interest
distance max
array of distances