Skip to main content

intersects

Function intersects 

Source
pub fn intersects<A, B>(a: &A, b: &B) -> bool
Expand description

true iff a and b share at least one point.

Mirrors boost::geometry::intersects(a, b) from boost/geometry/algorithms/intersects.hpp. Tries the canonical pair direction first, falling back to the reversed direction through the Reversed<CartesianIntersects> blanket so callers never have to remember which argument order has an explicit impl.