powered by
converts a mesh containing quadrangular faces into one only consisting of triangles
quad2trimesh(mesh, updateNormals = TRUE)
triangular mesh with updated normals
object of class "mesh3d"
logical: request recalculation of (angle weighted) vertex normals.
Sigma <- diag(3:1) #create a 3D-covariance matrix require(rgl) quadmesh <- ellipse3d(Sigma)##create quadmesh trimesh <- quad2trimesh(quadmesh)# convert to trimesh
Run the code above in your browser using DataLab