private static bool IsPointInPolygon(Point[] path, Vector3 pt) { return PointInPolygon(path, pt) != 0; }