pub fn ring_winding(pts: &[Point], p: Point) -> Option<i32>Expand description
Winding number of pts (a closed ring) around p, or None when p is on the ring.
Queries are exact for coordinates within ±MAX_COORD; if p or
the ring lies outside that range the result is Some(0) (outside), never a panic.