shrinkfaces
Reduce patch face size.
📝Syntax
shrinkfaces(p, sf)
nfv = shrinkfaces(p, sf)
nfv = shrinkfaces(fv, sf)
nfv = shrinkfaces(faces, vertices, sf)
[newFaces, newVertices] = shrinkfaces(...)
📥Input Arguments
Parameter Description
p Patch handle.
fv Structure with faces and vertices fields.
sf Nonnegative shrink factor. The default is 0.3.
📤Output Arguments
Parameter Description
nfv, newFaces, newVertices Shrunk face and vertex data with nonshared vertices.
📄Description

shrinkfaces moves each face vertex toward the center of its face and creates nonshared vertices.

🔗See Also
isosurfacepatch
Edit this page on GitHub