[math-fun] Regular Polygon Region Member Algorithm