pub fn convex_hull_as_triangle_mesh<'a, T: BorrowedBuffer<'a>>(
buffer: &'a T,
) -> Result<Vec<Vector3<usize>>>
Expand description
Convex Hull generation as triangle mesh Returns the convex hull as a vector of tuples of size 3 that contains the indices of the triangle vertices within the input buffer that form a convex hull around all input points or an error if less than 3 linearily independent points were given in the input buffer.
#Panics
If the PointBuffer doesn’t cointain a POSITION_3D attribute.