Skip to main content

point_in_polygon

Function point_in_polygon 

Source
pub fn point_in_polygon(p: [f64; 2], poly: &[[f64; 2]]) -> bool
Expand description

Whether p is inside the polygon (even-odd rule).