shrinkfaces(p, sf)
nfv = shrinkfaces(p, sf)
nfv = shrinkfaces(fv, sf)
nfv = shrinkfaces(faces, vertices, sf)
[newFaces, newVertices] = shrinkfaces(...)
| Parameter | Description |
|---|---|
| p | Patch handle. |
| fv | Structure with faces and vertices fields. |
| sf | Nonnegative shrink factor. The default is 0.3. |
| Parameter | Description |
|---|---|
| nfv, newFaces, newVertices | Shrunk face and vertex data with nonshared vertices. |
shrinkfaces moves each face vertex toward the center of its face and creates nonshared vertices.