Skip to contents

Returns the length of the longest edge in the mesh.

Usage

vcg_max_edge_length(mesh)

Arguments

mesh

triangular mesh of class 'mesh3d'.

Value

A single numeric value: the maximum edge length, in mesh units.

Examples

if (is_not_cran()) {

  sphere <- vcg_sphere()
  vcg_max_edge_length(sphere)

}
#> [1] 0.1646472