|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bbn.openmap.proj.RhumbCalculator
public class RhumbCalculator
Method Summary | |
---|---|
static LatLonPoint |
calculatePointOnRhumbLine(LatLonPoint point,
double azimuth,
double dist)
This method allows public location point on the Rhumb Line, znajc Location reference point, the azimuth and Distance. |
static double |
getAzimuthBetweenPoints(LatLonPoint p1,
LatLonPoint p2)
This method allows you to calculate the azimuth between the points. |
static double |
getDistanceBetweenPoints(LatLonPoint p1,
LatLonPoint p2)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LatLonPoint calculatePointOnRhumbLine(LatLonPoint point, double azimuth, double dist)
point
- LatLonPoint the staring point.azimuth
- in radians, clockwise from North (0.0).dist
- distance in radians.
public static double getDistanceBetweenPoints(LatLonPoint p1, LatLonPoint p2)
p1
- LatLonPoint the first point.p2
- LatLonPoint to the second point.
public static double getAzimuthBetweenPoints(LatLonPoint p1, LatLonPoint p2)
p1
- LatLonPoint the first point.p2
- LatLonPoint to the second point.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |