meshres: calculate average edge length of a triangular mesh

View source: R/meshres.r

meshresR Documentation

calculate average edge length of a triangular mesh

Description

calculate average edge length of a triangular mesh, by iterating over all faces.

Usage

meshres(mesh)

Arguments

mesh

triangular mesh stored as object of class "mesh3d"

Value

returns average edge length (a.k.a. mesh resolution)

Author(s)

Stefan Schlager

Examples


data(boneData)
mres <- meshres(skull_0144_ch_fe.mesh)



Morpho documentation built on June 22, 2024, 7:19 p.m.