Skip to main content

convex_polygon_contains_2d

Function convex_polygon_contains_2d 

Source
pub fn convex_polygon_contains_2d(
    points: &[[f64; 2]],
    hull: &[usize],
    p: [f64; 2],
) -> bool
Expand description

Whether p lies inside or on a convex counter-clockwise polygon.