Checks if a Point is located on the given line segment.
The Point to check for intersection.
The line segment to check for intersection.
Checks if a Point is located on the given line segment.