Thanks @giostark, that's great. In fact it's just the sort of thing I wanted to know. So I take it from that the bed.g holds the mesh point locations.
I'm printing on a mirror, on a flat bed levelled at 3 points, I just need to allow for inaccuracies in the bed plane.
Many thanks
Barry M