pub fn point_in_contour(point: &Point2<f64>, contour: &[Point2<f64>]) -> bool
Check if a point is inside a contour using ray casting