parry2d::transformation

Function convex_hull_idx

Source
pub fn convex_hull_idx(points: &[Point2<f32>]) -> Vec<usize>
Expand description

Computes the convex hull of a set of 2d points and returns only the indices of the hull vertices.

The computed convex-hull have its points given in counter-clockwise order.