added planar graph triangulator and factored Mesh.h into LineMesh.h and TriangleMesh.h