diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2011-09-12 18:28:13 +0200 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2011-09-13 08:58:06 +0200 |
| commit | a3df1f933402a0fdf9521b353cbd20aa4a4c7957 (patch) | |
| tree | 733a4272f7e67043bdf6be038b0cc5fcef07fd2c /src/cgeo/geocaching/cgBase.java | |
| parent | bea8bf6254665e7a5d38f0f84dbcdab8c4c5015d (diff) | |
| download | cgeo-a3df1f933402a0fdf9521b353cbd20aa4a4c7957.zip cgeo-a3df1f933402a0fdf9521b353cbd20aa4a4c7957.tar.gz cgeo-a3df1f933402a0fdf9521b353cbd20aa4a4c7957.tar.bz2 | |
Replace callers of getHeading() by a direct call
Diffstat (limited to 'src/cgeo/geocaching/cgBase.java')
| -rw-r--r-- | src/cgeo/geocaching/cgBase.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/cgeo/geocaching/cgBase.java b/src/cgeo/geocaching/cgBase.java index 7e69b89..2eca7c5 100644 --- a/src/cgeo/geocaching/cgBase.java +++ b/src/cgeo/geocaching/cgBase.java @@ -2363,10 +2363,6 @@ public class cgBase { return text.trim(); } - public static double getHeading(final Geopoint coords1, final Geopoint coords2) { - return coords1.bearingTo(coords2); // TODO Replace callers - } - public static Geopoint getRadialDistance(final Geopoint coords, double bearing, double distance) { return coords.project(bearing, distance); // TODO Replace callers } |
