point_inside_polygon

Function point_inside_polygon 

Source
pub fn point_inside_polygon<T: Float>(p: Vec2<T>, poly: &Vec<Vec2<T>>) -> bool
Expand description

returns true if point p is inside the polygon defined by point list poly