Skip to main content

convex_polygons_intersection_points

Function convex_polygons_intersection_points 

Source
pub fn convex_polygons_intersection_points(
    poly1: &[Point2<f64>],
    poly2: &[Point2<f64>],
    out: &mut Vec<Point2<f64>>,
)
Expand description

Computes the intersection points of two convex polygons.

The resulting polygon is output vertex-by-vertex to the out vector. This is the same as convex_polygons_intersection_points_with_tolerances with the tolerances set to their default values.