Skip to main content

polygon_intersection_points

Function polygon_intersection_points 

Source
pub fn polygon_intersection_points(
    a: &[[f64; 2]],
    b: &[[f64; 2]],
) -> Vec<[f64; 2]>
Expand description

Compute intersection points of two polygons.

Returns all edge-edge intersection points between the two polygon boundaries.