Two-Dimensional Mesh Embedding for B-spline Methods