Ex: P in Polygon?

@

InաסOdd intersections

OutաסEven intersections

Program: