Learn R Programming

habtools (version 1.1.1)

convexity: 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)

Value

The convexity value.

Arguments

mesh

A triangular mesh of class mesh3d. #'

Examples

Run this code
convexity(mcap)

Run the code above in your browser using DataLab