parry3d::transformation

Function convex_polygons_intersection_points

source
pub fn convex_polygons_intersection_points(
    poly1: &[Point2<f32>],
    poly2: &[Point2<f32>],
    out: &mut Vec<Point2<f32>>,
)
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.