Function autoware_utils::intersects_convex

Function Documentation

bool autoware_utils::intersects_convex(const Polygon2d &convex_polygon1, const Polygon2d &convex_polygon2)

Check if 2 convex polygons intersect using the GJK algorithm.

much faster than boost::geometry::intersects()