Chaos::GJKDistance

Find the distance and nearest points on two convex geometries A and B, if they do not overlap.