Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quad2trimesh

converts a mesh containing quadrangular faces into one only consisting of triangles


Description

converts a mesh containing quadrangular faces into one only consisting of triangles

Usage

quad2trimesh(mesh, updateNormals = TRUE)

Arguments

mesh

object of class "mesh3d"

updateNormals

logical: request recalculation of (angle weighted) vertex normals.

Value

triangular mesh with updated normals

Examples

Sigma <- diag(3:1) #create a 3D-covariance matrix
require(rgl)
quadmesh <- ellipse3d(Sigma)##create quadmesh
trimesh <- quad2trimesh(quadmesh)# convert to trimesh

Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.