com.bbn.openmap.proj
Class RhumbCalculator

java.lang.Object
  extended by com.bbn.openmap.proj.RhumbCalculator

public class RhumbCalculator
extends java.lang.Object

Version:
$Header: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/proj/RhumbCalculator .java,v 1.1 2004/05/10 20:53:58 dietrick Exp $
Author:
pawkub This class contains methods that helps you make calculations performed ASSOCIATED The so-called. Rhumblinem. This class contains several oglnych wzorw and beyond OpenMap is ASSOCIATED with nothing. You can drop into OpenMap and contained in it, where will you need (and it is places a few).

Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculatePointOnRhumbLine

public static LatLonPoint calculatePointOnRhumbLine(LatLonPoint point,
                                                    float azimuth,
                                                    float dist)

getDistanceBetweenPoints

public static float getDistanceBetweenPoints(LatLonPoint p1,
                                             LatLonPoint p2)
Parameters:
p1 - punkt geograficzny
p2 - punkt geograficzny
Returns:
distance

getAzimuthBetweenPoints

public static float getAzimuthBetweenPoints(LatLonPoint p1,
                                            LatLonPoint p2)
This method allows you to calculate the azimuth between the points (bearing the first to the second)

Parameters:
p1 - pierwszy punkt geograficzny
p2 - drugi punkt geograficzny
Returns:
namiar w radianach


Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details