pub fn Convex_hull(
    py: Python<'_>,
    points: Vec<(f64, f64)>
) -> PyResult<Vec<(f64, f64)>>
Expand description

Computes the convex hull of a set of 2D points and returns it as a list of points.

This function serves as the Python interface for the convex hull computation, accepting a list of tuples from Python and returning the result as a list of tuples.

§Arguments

  • points - A list of tuples representing the points (x, y).

§Returns

A list of tuples representing the points that form the convex hull in counter-clockwise order.