Updated PointsMesh to the new Mesh interface.