How to Reformat Surface Meshes?

To create a set of data suitable for display in ProfilmOnline, the data must be represented as a set of height values spaced on a regular grid. See this post for additional info.