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.
convexity(mesh)
A triangular mesh of class mesh3d. #'
The convexity value.
convexity(mcap)
#> [1] 0.4484716