// test_get_close.java public class test_get_close { public test_get_close() { System.out.println("test_get_close.java running"); get_close G = new get_close(); double xp[] = {1.0, 2.0, 3.0, 4.0, 5.0}; double yp[] = {5.0, 4.0, 3.0, 2.0, 1.0}; double zp[] = {1.0, 1.0, 3.0, 3.0, 2.0}; double tp[] = {0.0, 5.0, 3.0, 3.0, 6.0}; int n = xp.length; int ixk[] = new int[n]; double d[] = new double[n]; double x = 3.5; double y = 2.5; double z = 4.5; double t = 4.5; System.out.println("test get_close.index2"); G.index2(x, y, xp, yp, ixk); System.out.println("x="+x+", y="+y); for(int i=0; i