parry3d::transformation

Function convex_polygons_intersection_with_tolerances

source
pub fn convex_polygons_intersection_with_tolerances(
    poly1: &[Point2<f32>],
    poly2: &[Point2<f32>],
    tolerances: PolygonIntersectionTolerances,
    out: impl FnMut(Option<PolylinePointLocation>, Option<PolylinePointLocation>),
)
Expand description

Computes the intersection of two convex polygons.

The resulting polygon is output vertex-by-vertex to the out closure.