mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-23 05:45:35 +08:00
Some fixes and formatting
* CTime::switchUnit(CTimeUnit::hms()); * Coordinate canHandleIndex protected * copyright
This commit is contained in:
committed by
Mathew Sutcliffe
parent
edf8191969
commit
4fcf9efab7
@@ -74,12 +74,9 @@ namespace BlackMisc
|
||||
//! Initial bearing
|
||||
BlackMisc::PhysicalQuantities::CAngle bearing(const ICoordinateGeodetic &otherCoordinate) const;
|
||||
|
||||
//! Can given index be handled
|
||||
static bool canHandleIndex(const BlackMisc::CPropertyIndex &index)
|
||||
{
|
||||
int i = index.frontCasted<int>();
|
||||
return (i >= static_cast<int>(IndexLatitude)) && (i <= static_cast<int>(IndexGeodeticHeightAsString));
|
||||
}
|
||||
protected:
|
||||
//! Can given index be handled?
|
||||
static bool canHandleIndex(const BlackMisc::CPropertyIndex &index);
|
||||
};
|
||||
|
||||
//! Great circle distance between points
|
||||
|
||||
Reference in New Issue
Block a user