marble
#include <RoutingPoint.h>
Public Member Functions | |
| RoutingPoint (qreal lon=0.0, qreal lat=0.0) | |
| qreal | bearing (const RoutingPoint &other) const | 
| qreal | distance (const RoutingPoint &other) const | 
| qreal | lat () const | 
| qreal | lon () const | 
Detailed Description
There are many Point classes, but this is mine.
Definition at line 24 of file RoutingPoint.h.
Constructor & Destructor Documentation
      
  | 
  explicit | 
Definition at line 18 of file RoutingPoint.cpp.
Member Function Documentation
| qreal Marble::RoutingPoint::bearing | ( | const RoutingPoint & | other | ) | const | 
Calculates the bearing of the line defined by this point and the given other point.
Code based on http://www.movable-type.co.uk/scripts/latlong.html
Definition at line 36 of file RoutingPoint.cpp.
| qreal Marble::RoutingPoint::distance | ( | const RoutingPoint & | other | ) | const | 
Calculates the distance in meter between this point and the given other point.
Code based on http://www.movable-type.co.uk/scripts/latlong.html
Definition at line 46 of file RoutingPoint.cpp.
| qreal Marble::RoutingPoint::lat | ( | ) | const | 
Latitude of the point.
Definition at line 30 of file RoutingPoint.cpp.
| qreal Marble::RoutingPoint::lon | ( | ) | const | 
Longitude of the point.
Definition at line 25 of file RoutingPoint.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:38:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
    KDE API Reference