SUBDIVIDEMESH Subdivides each face of the mesh. [V2 F2] = subdivideMesh(V, F, N) Subdivides the mesh specified by (V,F) such that each face F is divided into N^2 smaller faces. Example [v, f] = createOctahedron; figure; drawMesh(v, f); view(3); [v2, f2] = subdivideMesh(v, f, 4); figure; drawMesh(v2, f2); view(3) See also meshes3d, drawMesh
Package: matgeom