subdivide
Description
subdivide(
        subdivides the surface mesh mesh,"midpoint-split",numIterations)mesh by using the midpoint-split method with
        the specified number of iterations. In this method, the function divides each face of the
        mesh into four faces in each iteration. New vertices lie at the midpoints of the edges of
        the original face.
subdivide(
        subdivides the surface mesh by using a loop subdivision method with the specified number of
        iterations. In this methods, the function divides each triangular face into four by
        connecting the midpoints of the edges, then updates the new vertices as a weighted average
        of neighboring positions. The function divides each face into four faces in each iteration. mesh,"loop",numIterations)
Examples
Input Arguments
Limitations
The function discards the FaceColors property of the input surfaceMesh object.
      The subdivided mesh does not have any face colors.
References
[1] Loop, Charles. “Smooth Subdivision Surfaces Based on Triangles.” Master's thesis. The University of Utah, 1987.



