@Test public void testHaverSin() { Assert.assertEquals(0.25, haverSine(Math.PI / 3), 0.001); }
static double haverSine(double theta) { return (1 - Math.cos(theta)) / 2; }
HaversineDistance extends FastDistance { static double haverSine(double theta) { return (1 - Math.cos(theta)) / 2; } }
HaversineDistance extends FastDistance { static double haverSine(double theta) { return (1 - Math.cos(theta)) / 2; }  }
HaversineDistance extends FastDistance { static double haverSine(double theta) { return (1 - Math.cos(theta)) / 2; }  double calc(double latitude1, double longitude1, double latitude2, double longitude2); @Override double calc(double[] array1, double[] array2); @Override double calc(Vector vec1, Vector vec2); @Override void updateLabel(FastDistanceData data); }
HaversineDistance extends FastDistance { static double haverSine(double theta) { return (1 - Math.cos(theta)) / 2; }  double calc(double latitude1, double longitude1, double latitude2, double longitude2); @Override double calc(double[] array1, double[] array2); @Override double calc(Vector vec1, Vector vec2); @Override void updateLabel(FastDistanceData data);  }