The ratio of the volume of the object and the volume of the convex
hull around the object. Objects with fewer concavities will be closer to 1.

## Arguments

- mesh
A triangular mesh of class mesh3d.
#'

## Value

The convexity value.

## Examples

```
convexity(mcap)
#> [1] 0.4484716
```