Background
I want to sample values from an isosurface, calculated with the marching squares algorithm from the misc3d package in R
misc3d
R