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