If you use
package 'akima' (which I use) the pdf I linked to describes the algoritms (without detail) and cites sources.
Edit: Scrub that. I just realised that akima passes on the interpolations to the contour function you linked to. I don't know if the interpolation method is what you're after, but it can't hurt to look at the package info, I suppose.