@Test public void intToDoubleTest() { double degrees = LatLongUtils.microdegreesToDegrees(MICRO_DEGREES); Assert.assertEquals(DEGREES, degrees, 0); }
public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; }
LatLongUtils { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } }
LatLongUtils { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  LatLongUtils(); }
LatLongUtils { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  LatLongUtils(); static boolean contains(LatLong[] latLongs, LatLong latLong); static boolean contains(List<LatLong> latLongs, LatLong latLong); static int degreesToMicrodegrees(double coordinate); static LatLong destinationPoint(LatLong start, double distance, float bearing); static double distance(LatLong latLong1, LatLong latLong2); static double distanceSegmentPoint(double startX, double startY, double endX, double endY, double pointX, double pointY); static LatLong fromString(String latLongString); static boolean isClosedWay(LatLong[] latLongs); static double latitudeDistance(int meters); static double longitudeDistance(int meters, double latitude); static double microdegreesToDegrees(int coordinate); static Point nearestSegmentPoint(double startX, double startY, double endX, double endY, double pointX, double pointY); static double[] parseCoordinateString(String coordinatesString, int numberOfCoordinates); static double sphericalDistance(LatLong latLong1, LatLong latLong2); static double validateLatitude(double latitude); static double validateLongitude(double longitude); static double vincentyDistance(LatLong latLong1, LatLong latLong2); static byte zoomForBounds(Dimension dimension, BoundingBox boundingBox, int tileSize); }
LatLongUtils { public static double microdegreesToDegrees(int coordinate) { return coordinate / CONVERSION_FACTOR; } private  LatLongUtils(); static boolean contains(LatLong[] latLongs, LatLong latLong); static boolean contains(List<LatLong> latLongs, LatLong latLong); static int degreesToMicrodegrees(double coordinate); static LatLong destinationPoint(LatLong start, double distance, float bearing); static double distance(LatLong latLong1, LatLong latLong2); static double distanceSegmentPoint(double startX, double startY, double endX, double endY, double pointX, double pointY); static LatLong fromString(String latLongString); static boolean isClosedWay(LatLong[] latLongs); static double latitudeDistance(int meters); static double longitudeDistance(int meters, double latitude); static double microdegreesToDegrees(int coordinate); static Point nearestSegmentPoint(double startX, double startY, double endX, double endY, double pointX, double pointY); static double[] parseCoordinateString(String coordinatesString, int numberOfCoordinates); static double sphericalDistance(LatLong latLong1, LatLong latLong2); static double validateLatitude(double latitude); static double validateLongitude(double longitude); static double vincentyDistance(LatLong latLong1, LatLong latLong2); static byte zoomForBounds(Dimension dimension, BoundingBox boundingBox, int tileSize); static final double EQUATORIAL_RADIUS; static final double INVERSE_FLATTENING; static final double POLAR_RADIUS; static final double LATITUDE_MAX; static final double LATITUDE_MIN; static final double LONGITUDE_MAX; static final double LONGITUDE_MIN; }