meshres {Morpho}R 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)



[Package Morpho version 2.12 Index]