pub fn convex_hull_2d<T, P, A>(points: &A) -> Vec<Point<T>>where T: SpatialScalar, P: SpatialPoint<T>, A: SpatialArray<T, P>,
Calculate the convex hull using a generic algorithm