/usr/include/angle.h is in libdewalls-dev 1.0.0+ds1-4ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #ifndef DEWALLS_ANGLE_H
#define DEWALLS_ANGLE_H
#include <QString>
#include <QSharedPointer>
#include "dewallsexport.h"
namespace dewalls {
class DEWALLS_LIB_EXPORT Angle
{
public:
enum Unit {
Invalid = 0,
Radians = 1,
Degrees = 2,
Gradians = 3,
MilsNATO = 4,
PercentGrade = 5
};
static QString Name;
static long double toBase(long double quantity, Unit fromUnit);
static long double fromBase(long double quantity, Unit toUnit);
static long double convert(long double quantity, Unit fromUnit, Unit toUnit);
static QString symbolFor(Unit unit);
};
} // namespace dewalls
#endif // DEWALLS_ANGLE_H
|