public class Bearing extends java.lang.Object
Constructor and Description |
---|
Bearing() |
Modifier and Type | Method and Description |
---|---|
static double |
calculateBearing(double lat1,
double lng1,
double lat2,
double lng2)
Returns the direction from the first point to the second point in
degrees.
|
public Bearing()
public static double calculateBearing(double lat1, double lng1, double lat2, double lng2)
lat1
- lng1
- lat2
- lng2
-