Contouring based on code published in Javatech, Volume 13 Issue 9, "Contour Plotting In Java" by David Rand. This code is based on Fortran code implementing 1978 article by W. V. Snyder. W. V. Snyder, "Algorithm 531, Contour plotting [J6]," ACM Trans. Math. Softw. 4, 3 (Sept. 1978), 290-294.
returns a rank 1 dataset, a vector dataset, listing the points of the contour paths. The data set will have three planes: X, Y and the default plane is the Z.