getSideOfLine

Determines which side of a line segment (from p1 to p2) a point (h) is on.

Return

The Side (LEFT, RIGHT, or INLINE) the house is on relative to the direction from p1 to p2.

Parameters

p1

The starting point of the line segment (e.g., first vertex of a street Way).

p2

The ending point of the line segment (e.g., second vertex of a street Way).

h

The point to check (e.g., the house's location).