trapezoid point location