shape_features_3d: shape_features_3d

View source: R/alpha_shape.R

shape_features_3dR Documentation

shape_features_3d

Description

Compute shape features of a 3D alpha-shape object

Usage

shape_features_3d(as)

Arguments

as

an alpha-shape object of class ashape3d

Details

Features are: - major.axis, minor.axis and least.axis: Lengths of the axes of the fitted ellipsoid - elongation: from 0 (line) to 1 (globular) - flatness: from 0 (flat) to 1 (spherical) - max.feret.diameter: Maximum Feret diameter - max.inscribed.radius: Radius of the largest inscribed sphere - sphericity: from 0 (not spherical) to 1 (perfect sphere) - concavity: fraction of the convex hull volume not in the object - volume - area: area of the surface of the alpha-shape

Value

a named vector of numeric values or NULL if no non-singular vertices


LOMAR documentation built on Sept. 27, 2024, 1:06 a.m.