mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-16 02:06:08 +08:00
refs #291, bearing
* method to calculate bearing between coordinates * Helper methods to normalize degrees (0..360deg), e.g. -10deg -> 350deg
This commit is contained in:
@@ -144,6 +144,12 @@ namespace BlackMisc
|
||||
*/
|
||||
static double rad2deg(double radians);
|
||||
|
||||
/*!
|
||||
* \brief Normalize to 0..360 degrees
|
||||
* \param degrees
|
||||
* \return
|
||||
*/
|
||||
static double normalizeDegrees(double degrees);
|
||||
|
||||
private:
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user