Learn R Programming

Morpho (version 2.12)

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

Value

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

Arguments

mesh

triangular mesh stored as object of class "mesh3d"

Author

Stefan Schlager

Examples

Run this code

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


Run the code above in your browser using DataLab