Ray Casting Algorithm 判斷點在形狀裡面或是外面point in polygon (PIP) problem - jenhaoyang/ml_blog GitHub Wiki 參考: https://rosettacode.org/wiki/Ray-casting_algorithm