pub fn convex_hull(points: &mut Vec<(f64, f64)>) -> Vec<(f64, f64)>
Computes the convex hull of a set of 2D points using Graham’s scan algorithm.
points
A vector of tuples representing the points that form the convex hull in counter-clockwise order.