public class RhumbCalculator
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static LatLonPoint |
calculatePointOnRhumbLine(LatLonPoint point,
float azimuth,
float dist) |
static float |
getAzimuthBetweenPoints(LatLonPoint p1,
LatLonPoint p2)
This method allows you to calculate the azimuth between the points
(bearing the first to the second)
|
static float |
getDistanceBetweenPoints(LatLonPoint p1,
LatLonPoint p2) |
public static LatLonPoint calculatePointOnRhumbLine(LatLonPoint point, float azimuth, float dist)
public static float getDistanceBetweenPoints(LatLonPoint p1, LatLonPoint p2)
p1
- punkt geograficznyp2
- punkt geograficznypublic static float getAzimuthBetweenPoints(LatLonPoint p1, LatLonPoint p2)
p1
- pierwszy punkt geograficznyp2
- drugi punkt geograficznyCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details