mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 19:25:49 +08:00
Ref T505, heading normalize
This commit is contained in:
committed by
Mat Sutcliffe
parent
b476ce4894
commit
8bd6fdf9fc
@@ -87,12 +87,18 @@ namespace BlackMisc
|
||||
//! Get reference north (magnetic or true)
|
||||
ReferenceNorth getReferenceNorth() const { return m_north; }
|
||||
|
||||
//! Normalize to [0, 359.99]
|
||||
void normalizeTo360Degrees();
|
||||
|
||||
//! Normalize to +- 180deg, [-179.99, 180.0]
|
||||
void normalizeToPlusMinus180Degrees();
|
||||
|
||||
//! As [-179.99, 180.0] normalized heading
|
||||
CHeading normalizedToPlusMinus180Degrees() const;
|
||||
|
||||
//! As [0, 359.99] normalized heading
|
||||
CHeading normalizedTo360Degrees() const;
|
||||
|
||||
//! Register metadata
|
||||
static void registerMetadata();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user