shrinkfaces
Reduce size of patch faces
Syntax
shrinkfaces(p,sf)
nfv = shrinkfaces(p,sf)
nfv = shrinkfaces(fv,sf)
shrinkfaces(p)
nfv = shrinkfaces(f,v,sf)
[nf,nv] = shrinkfaces(...)
Description
shrinkfaces(p,sf) shrinks the area of the
faces in patch p to shrink factor sf.
A shrink factor of 0.6 shrinks each face to 60% of its original area.
If the patch contains shared vertices, the MATLAB® software creates
nonshared vertices before performing the face-area reduction.
nfv = shrinkfaces(p,sf) returns the face
and vertex data in the struct nfv, but does not
set the Faces and Vertices properties of
patch p.
nfv = shrinkfaces(fv,sf) uses the face
and vertex data from the struct fv.
shrinkfaces(p) and shrinkfaces(fv) (without
specifying a shrink factor) assume a shrink factor of 0.3.
nfv = shrinkfaces(f,v,sf) uses the face
and vertex data from the arrays f and v.
[nf,nv] = shrinkfaces(...) returns the
face and vertex data in two separate arrays instead of a struct.
Examples
Extended Capabilities
Version History
Introduced before R2006a
See Also
isosurface | patch | reducevolume | daspect | view | axis

