A MeshSurf represents a continuously differentiable surface formed by using piecewise quadratic interpolation on a surface mesh. The surface mesh is given by a set of mesh vertices and a matrix elem defining the triangle connectivity. The surface parameter values of each mesh vertex is also given. For each mesh triangle, a quadratic interpolation is used on each of the four subtriangles.