test_class.file: mardao-core/src/test/java/net/sf/mardao/core/geo/GeoboxTest.java
test_class.identifier: GeoboxTest
test_case.body: @Test
    public void testGetDistance() {
      final DLocation P0 = new DLocation(56.34f, 15.05f);
      final DLocation P1 = new DLocation(56.387f, 15.05f);
      final DLocation P2 = new DLocation(56.3445f, 15.05f);
      final DLocation P3 = new DLocation(56.34043f, 15.05f);
      final DLocation P4 = new DLocation(56.34001f, 15.05f);
      assertEquals(5232.0f, Geobox.distance(P0, P1), 0.2f);
    }
test_case.class_method_signature: GeoboxTest.testGetDistance()
test_case.full_signature: @Test public void testGetDistance()
test_case.identifier: testGetDistance
test_case.invocations: assertEquals distance
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetDistance()
focal_class.declarator: RADIUS = 6378135
focal_class.modifier: public static final
focal_class.original_string: public static final int RADIUS = 6378135;
focal_class.type: int
focal_class.var_name: RADIUS
focal_class.declarator: D = 40075004
focal_class.modifier: public static final
focal_class.original_string: public static final int D = 40075004;
focal_class.type: int
focal_class.var_name: D
focal_class.declarator: D_MAJOR = new float[58]
focal_class.modifier: static final
focal_class.original_string: static final float[] D_MAJOR = new float[58];
focal_class.type: float[]
focal_class.var_name: D_MAJOR
focal_class.declarator: BITS_10_39km = 10
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_10_39km = 10;
focal_class.type: int
focal_class.var_name: BITS_10_39km
focal_class.declarator: BITS_12_10km = 12
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_12_10km = 12;
focal_class.type: int
focal_class.var_name: BITS_12_10km
focal_class.declarator: BITS_15_1224m = 15
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_15_1224m = 15;
focal_class.type: int
focal_class.var_name: BITS_15_1224m
focal_class.declarator: BITS_17_307m = 17
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_17_307m = 17;
focal_class.type: int
focal_class.var_name: BITS_17_307m
focal_class.declarator: BITS_18_154m = 18
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_18_154m = 18;
focal_class.type: int
focal_class.var_name: BITS_18_154m
focal_class.declarator: BITS_19_77m = 19
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_19_77m = 19;
focal_class.type: int
focal_class.var_name: BITS_19_77m
focal_class.declarator: BITS_20_39m = 20
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_20_39m = 20;
focal_class.type: int
focal_class.var_name: BITS_20_39m
focal_class.declarator: BITS_22_10m = 22
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_22_10m = 22;
focal_class.type: int
focal_class.var_name: BITS_22_10m
focal_class.declarator: BITS_23_53dm = 23
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_23_53dm = 23;
focal_class.type: int
focal_class.var_name: BITS_23_53dm
focal_class.declarator: BITS_24_32dm = 24
focal_class.modifier: @Deprecated
      public static final
focal_class.original_string: @Deprecated
      public static final int BITS_24_32dm = 24;
focal_class.type: int
focal_class.var_name: BITS_24_32dm
focal_class.declarator: BITS_0_40075004m = 0
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_0_40075004m = 0;
focal_class.type: int
focal_class.var_name: BITS_0_40075004m
focal_class.declarator: BITS_1_20037502m = 1
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_1_20037502m = 1;
focal_class.type: int
focal_class.var_name: BITS_1_20037502m
focal_class.declarator: BITS_2_10018751m = 2
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_2_10018751m = 2;
focal_class.type: int
focal_class.var_name: BITS_2_10018751m
focal_class.declarator: BITS_3_5009375m = 3
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_3_5009375m = 3;
focal_class.type: int
focal_class.var_name: BITS_3_5009375m
focal_class.declarator: BITS_4_2504687m = 4
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_4_2504687m = 4;
focal_class.type: int
focal_class.var_name: BITS_4_2504687m
focal_class.declarator: BITS_5_1252343m = 5
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_5_1252343m = 5;
focal_class.type: int
focal_class.var_name: BITS_5_1252343m
focal_class.declarator: BITS_6_626171m = 6
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_6_626171m = 6;
focal_class.type: int
focal_class.var_name: BITS_6_626171m
focal_class.declarator: BITS_7_313085m = 7
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_7_313085m = 7;
focal_class.type: int
focal_class.var_name: BITS_7_313085m
focal_class.declarator: BITS_8_156542m = 8
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_8_156542m = 8;
focal_class.type: int
focal_class.var_name: BITS_8_156542m
focal_class.declarator: BITS_9_78271m = 9
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_9_78271m = 9;
focal_class.type: int
focal_class.var_name: BITS_9_78271m
focal_class.declarator: BITS_10_39135m = 10
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_10_39135m = 10;
focal_class.type: int
focal_class.var_name: BITS_10_39135m
focal_class.declarator: BITS_11_19567m = 11
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_11_19567m = 11;
focal_class.type: int
focal_class.var_name: BITS_11_19567m
focal_class.declarator: BITS_12_9783m = 12
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_12_9783m = 12;
focal_class.type: int
focal_class.var_name: BITS_12_9783m
focal_class.declarator: BITS_13_4891m = 13
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_13_4891m = 13;
focal_class.type: int
focal_class.var_name: BITS_13_4891m
focal_class.declarator: BITS_14_2445m = 14
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_14_2445m = 14;
focal_class.type: int
focal_class.var_name: BITS_14_2445m
focal_class.declarator: BITS_15_1222m = 15
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_15_1222m = 15;
focal_class.type: int
focal_class.var_name: BITS_15_1222m
focal_class.declarator: BITS_16_611m = 16
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_16_611m = 16;
focal_class.type: int
focal_class.var_name: BITS_16_611m
focal_class.declarator: BITS_17_305m = 17
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_17_305m = 17;
focal_class.type: int
focal_class.var_name: BITS_17_305m
focal_class.declarator: BITS_18_152m = 18
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_18_152m = 18;
focal_class.type: int
focal_class.var_name: BITS_18_152m
focal_class.declarator: BITS_19_76m = 19
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_19_76m = 19;
focal_class.type: int
focal_class.var_name: BITS_19_76m
focal_class.declarator: BITS_20_38m = 20
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_20_38m = 20;
focal_class.type: int
focal_class.var_name: BITS_20_38m
focal_class.declarator: BITS_21_19m = 21
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_21_19m = 21;
focal_class.type: int
focal_class.var_name: BITS_21_19m
focal_class.declarator: BITS_22_9m = 22
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_22_9m = 22;
focal_class.type: int
focal_class.var_name: BITS_22_9m
focal_class.declarator: BITS_23_4m = 23
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_23_4m = 23;
focal_class.type: int
focal_class.var_name: BITS_23_4m
focal_class.declarator: BITS_24_2m = 24
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_24_2m = 24;
focal_class.type: int
focal_class.var_name: BITS_24_2m
focal_class.declarator: BITS_25_1m = 25
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_25_1m = 25;
focal_class.type: int
focal_class.var_name: BITS_25_1m
focal_class.declarator: BITS_26_0m = 26
focal_class.modifier: public static final
focal_class.original_string: public static final int BITS_26_0m = 26;
focal_class.type: int
focal_class.var_name: BITS_26_0m
focal_class.file: mardao-core/src/main/java/net/sf/mardao/core/geo/Geobox.java
focal_class.identifier: Geobox
focal_class.class_method_signature: Geobox.getMask(float x, float base, int bits)
focal_class.full_signature: public static long getMask(float x, float base, int bits)
focal_class.identifier: getMask
focal_class.modifiers: public static
focal_class.parameters: (float x, float base, int bits)
focal_class.return: long
focal_class.signature: long getMask(float x, float base, int bits)
focal_class.class_method_signature: Geobox.getHash(float lat, float lng, int bits)
focal_class.full_signature: public static long getHash(float lat, float lng, int bits)
focal_class.identifier: getHash
focal_class.modifiers: public static
focal_class.parameters: (float lat, float lng, int bits)
focal_class.return: long
focal_class.signature: long getHash(float lat, float lng, int bits)
focal_class.class_method_signature: Geobox.getTuple(float lat, float lng, int bits)
focal_class.full_signature: public static Set<Long> getTuple(float lat, float lng, int bits)
focal_class.identifier: getTuple
focal_class.modifiers: public static
focal_class.parameters: (float lat, float lng, int bits)
focal_class.return: Set<Long>
focal_class.signature: Set<Long> getTuple(float lat, float lng, int bits)
focal_class.class_method_signature: Geobox.getHashIterative(float major, float minor, final int bits)
focal_class.full_signature: protected static long getHashIterative(float major, float minor, final int bits)
focal_class.identifier: getHashIterative
focal_class.modifiers: protected static
focal_class.parameters: (float major, float minor, final int bits)
focal_class.return: long
focal_class.signature: long getHashIterative(float major, float minor, final int bits)
focal_class.class_method_signature: Geobox.distance(DLocation p1, DLocation p2)
focal_class.full_signature: public static double distance(DLocation p1, DLocation p2)
focal_class.identifier: distance
focal_class.modifiers: public static
focal_class.parameters: (DLocation p1, DLocation p2)
focal_class.return: double
focal_class.signature: double distance(DLocation p1, DLocation p2)
focal_class.class_method_signature: Geobox.makeDoubleInRange(double d)
focal_class.full_signature: public static double makeDoubleInRange(double d)
focal_class.identifier: makeDoubleInRange
focal_class.modifiers: public static
focal_class.parameters: (double d)
focal_class.return: double
focal_class.signature: double makeDoubleInRange(double d)
focal_class.class_method_signature: Geobox.getCellSize(int bits)
focal_class.full_signature: public static int getCellSize(int bits)
focal_class.identifier: getCellSize
focal_class.modifiers: public static
focal_class.parameters: (int bits)
focal_class.return: int
focal_class.signature: int getCellSize(int bits)
focal_class.class_method_signature: Geobox.getCellSize(int bits, double latitude)
focal_class.full_signature: public static double getCellSize(int bits, double latitude)
focal_class.identifier: getCellSize
focal_class.modifiers: public static
focal_class.parameters: (int bits, double latitude)
focal_class.return: double
focal_class.signature: double getCellSize(int bits, double latitude)
focal_class.class_method_signature: Geobox.distance(double p1lat, double p1lon, double p2lat, double p2lon)
focal_class.full_signature: public static double distance(double p1lat, double p1lon, double p2lat, double p2lon)
focal_class.identifier: distance
focal_class.modifiers: public static
focal_class.parameters: (double p1lat, double p1lon, double p2lat, double p2lon)
focal_class.return: double
focal_class.signature: double distance(double p1lat, double p1lon, double p2lat, double p2lon)
focal_method.body: public static double distance(DLocation p1, DLocation p2) {
  		double p1lat = Math.toRadians(p1.getLatitude());
  		double p1lon = Math.toRadians(p1.getLongitude());
  		double p2lat = Math.toRadians(p2.getLatitude());
  		double p2lon = Math.toRadians(p2.getLongitude());
  		return distance(p1lat, p1lon, p2lat, p2lon);
  	}
focal_method.class_method_signature: Geobox.distance(DLocation p1, DLocation p2)
focal_method.full_signature: public static double distance(DLocation p1, DLocation p2)
focal_method.identifier: distance
focal_method.invocations: toRadians getLatitude toRadians getLongitude toRadians getLatitude toRadians getLongitude distance
focal_method.modifiers: public static
focal_method.parameters: (DLocation p1, DLocation p2)
focal_method.return: double
focal_method.signature: double distance(DLocation p1, DLocation p2)