/usr/include/urg/Angle.h is in liburg0-dev 0.8.18-2.
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 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 | #ifndef QRK_ANGLE_H
#define QRK_ANGLE_H
/*!
\file
\brief �p�x�̌^�Ǘ�
\author Satofumi KAMIMURA
$Id: Angle.h 1811 2010-04-30 16:12:05Z satofumi $
*/
namespace qrk
{
/*!
\brief �p�x�̌^�Ǘ�
*/
class Angle
{
public:
Angle(void);
Angle(const Angle& rhs);
Angle& operator = (const Angle& rhs);
Angle& operator += (const Angle& rhs);
const Angle operator + (const Angle& rhs) const;
Angle& operator -= (const Angle& rhs);
const Angle operator - (const Angle& rhs) const;
Angle& operator *= (const double rhs);
Angle operator * (const double rhs) const;
friend const Angle operator * (const double lhs, const Angle& rhs);
void normalize(void);
/*!
\brief degree �p�x�ւ̕ϊ�
\return degree �p�x
*/
int to_deg(void) const;
/*!
\brief radian �p�x�ւ̕ϊ�
\return radian �p�x
*/
double to_rad(void) const;
private:
double radian_angle_;
friend Angle rad(double radian);
friend Angle deg(int degree);
};
/*!
\brief radian �p�x�� Angle �ɕϊ�
\param[in] radian radian �p�x
\return Angle �I�u�W�F�N�g
*/
extern Angle rad(double radian);
/*!
\brief degree �p�x�� Angle �ɕϊ�
\param[in] degree degree �p�x
\return Angle �I�u�W�F�N�g
*/
extern Angle deg(int degree);
}
#endif /* !QRK_ANGLE__H */
|