Linear interpolator implementation

refs #169
This commit is contained in:
Roland Winklmeier
2014-03-14 17:51:45 +01:00
parent fcbbe694ec
commit 00356bbef6
3 changed files with 178 additions and 1 deletions

View File

@@ -83,7 +83,22 @@ namespace BlackMisc
return *this;
}
//! \brief Greater operator >
/*!
* \brief Multiply operator *=
* \param multiply
* \return
*/
CEarthAngle operator *=(double multiply)
{
this->CAngle::operator *=(multiply);
return *this;
}
/*!
* \brief Greater operator >
* \param latOrLon
* \return
*/
bool operator >(const CEarthAngle &latOrLon) const
{
return this->CAngle::operator >(latOrLon);
@@ -123,6 +138,18 @@ namespace BlackMisc
return l;
}
/*!
* \brief Multiply operator *
* \param multiply
* \return
*/
LATorLON operator *(double multiply) const
{
LATorLON l(*this);
l *= multiply;
return l;
}
//! \brief Register metadata
static void registerMetadata();