mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Changed PQ to template, removed unit default values, checked unit tests
This commit is contained in:
@@ -1,45 +0,0 @@
|
||||
#include "blackmisc/pqangle.h"
|
||||
|
||||
namespace BlackMisc {
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
*/
|
||||
CAngle::CAngle() : CPhysicalQuantity(0, CAngleUnit::rad(), CAngleUnit::rad())
|
||||
{
|
||||
// void
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
CAngle::CAngle(const CPhysicalQuantity &angle): CPhysicalQuantity(angle)
|
||||
{
|
||||
//void
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
CAngle::CAngle(qint32 value, const CAngleUnit &unit) : CPhysicalQuantity(value, unit, CAngleUnit::rad())
|
||||
{
|
||||
// void
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
CAngle::CAngle(double value, const CAngleUnit &unit) : CPhysicalQuantity(value, unit, CAngleUnit::rad())
|
||||
{
|
||||
// void
|
||||
}
|
||||
|
||||
/**
|
||||
* Destructor
|
||||
*/
|
||||
CAngle::~CAngle()
|
||||
{
|
||||
// void
|
||||
}
|
||||
|
||||
} // namespace
|
||||
Reference in New Issue
Block a user