Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.
X-coordinate of the startpoint of the segment.
Y-coordinate of the startpoint of the segment.
X-coordinate of the endpoint of the segment.
Y-coordinate of the endpoint of the segment.
X-coordinate of the point.
Y-coordinate of the point.
Returns 1 if the given point on the right side of the segment, 0 if its on the segment, and -1 if the point is on the left side of the segment.