Ray-Casting algorithm implementation
Calculate whether a horizontal ray cast eastward from point
will intersect with the line between vertA and vertB
Refer to https://en.wikipedia.org/wiki/Point_in_polygon for more explanation
or the example comment bloc at the end of this file