style and consistency:

* rename CStatusMessages to CStatusMessageList
* rename NetworkVatlib to CNetworkVatlib
* replace all occurrences of Realname with RealName (correct camel case)
* CSequence method corresponding to CList::append is push_back
* don't compile the qdbuscpp2xml metadata plugin by default
* CAircraftIcao string members always trimmed and capitalized
* added CComSystem::roundTo25KHz
* using epsilon comparison in a couple of places

refs #81
This commit is contained in:
Klaus Basan
2014-01-07 23:00:39 +00:00
committed by Mathew Sutcliffe
parent b5c3a5543f
commit bb61654a29
80 changed files with 846 additions and 753 deletions

View File

@@ -8,6 +8,7 @@
#include "blackmisc/valueobject.h"
#include "blackmisc/mathematics.h"
using namespace BlackMisc::Math;
namespace BlackMisc
{
@@ -167,9 +168,10 @@ namespace BlackMisc
bool operator ==(const CVector3DBase &other) const
{
if (this == &other) return true;
return this->m_i == other.m_i &&
this->m_j == other.m_j &&
this->m_k == other.m_k;
return
CMath::epsilonEqual(this->m_i, other.m_i, 1E-9) &&
CMath::epsilonEqual(this->m_j, other.m_j, 1E-9) &&
CMath::epsilonEqual(this->m_k, other.m_k, 1E-9);
}
/*!