convexity: Calculate convexity of a 3D mesh

View source: R/convexity.R

convexityR Documentation

Calculate convexity of a 3D mesh

Description

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.

Usage

convexity(mesh)

Arguments

mesh

A triangular mesh of class mesh3d. #'

Value

The convexity value.

Examples

convexity(mcap)

habtools documentation built on May 29, 2024, 7:30 a.m.