Function parry3d_f64::transformation::convex_polygons_intersection

source ยท
pub fn convex_polygons_intersection(
    poly1: &[Point2<Real>],
    poly2: &[Point2<Real>],
    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.