A PointF that is on the finite length straight line segment from a to b
Return Value
true if the point p is on a perpendicular line to the line segment; false if the point p is beyond either end of the line segment. When this returns false, the result will be either a or b.