powered by
subdivide the triangles of a mesh
vcgSubdivide( x, threshold = NULL, type = c("Butterfly", "Loop"), looptype = c("loop", "regularity", "continuity"), iterations = 3, silent = FALSE )
returns subdivided mesh
triangular mesh of class "mesh3d"
minimum edge length to subdivide
character: algorithm used. Options are Butterfly and Loop (see notes)
character: method for type = loop options are "loop","regularity","continuity" (see notes)
integer: number of iterations
logical: suppress output.
data(humface) subdivide <- vcgSubdivide(humface,type="Loop",looptype="regularity")
Run the code above in your browser using DataLab