private static void test() { Test tst0 = new Test(0, -25, 0); double[] pos = tst0.proj(0, -25, true); double[] pos2 = tst0.proj(pos[0], pos[1], false); double[] pos4 = tst0.proj(46.9, 38.9, false); Test t = new Test(0, 90, 0); t.test(0, 0); t.test(90, 0); t.test(0, 30); t = new Test(0, 0, 0); t.test(0, 0); t.test(90, 0); t.test(0, 30); t = new Test(10, 50, 25); t.test(0, 0); t.test(90, 0);
private static void test() Test tst0 = new Test(0, -25, 0); double[] pos = tst0.proj(0, -25, true); double[] pos2 = tst0.proj(pos[0], pos[1], false); double[] pos4 = tst0.proj(46.9, 38.9, false); Test t = new Test(0, 90, 0); t.test(0, 0); t.test(90, 0); t.test(0, 30); t = new Test(0, 0, 0); t.test(0, 0); t.test(90, 0); t.test(0, 30); t = new Test(10, 50, 25); t.test(0, 0); t.test(90, 0);