Henry Weller
dbe5d5288b
quaternion: Added generalized construction from and conversion to Euler-angles
...
The particular rotation sequence is specified via the enumeration:
//- Euler-angle rotation sequence
enum rotationSequence
{
ZYX, ZYZ, ZXY, ZXZ, YXZ, YXY, YZX, YZY, XYZ, XYX, XZY, XZX
};
and provided as an argument to the constructor from Euler-angles
//- Construct a quaternion given the three Euler angles:
inline quaternion
(
const rotationSequence rs,
const vector& angles
);
and conversion to Euler-angles:
//- Return a vector of euler angles corresponding to the
// specified rotation sequence
inline vector eulerAngles(const rotationSequence rs) const;
2016-03-14 08:07:42 +00:00
..
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-07-16 14:37:19 +01:00
2015-08-06 16:54:47 +01:00
2014-12-10 22:40:10 +00:00
2015-02-10 20:35:50 +00:00
2016-01-10 22:41:16 +00:00
2015-07-16 14:37:19 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-01-10 19:20:16 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-01-10 22:41:16 +00:00
2014-12-10 22:40:10 +00:00
2015-11-11 09:03:39 +00:00
2016-01-10 22:41:16 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-02-26 08:13:59 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-02-25 10:57:06 +00:00
2015-02-10 20:35:50 +00:00
2015-02-10 20:35:50 +00:00
2015-07-15 12:10:05 +01:00
2014-12-10 22:40:10 +00:00
2016-02-08 16:18:07 +00:00
2015-07-16 14:37:19 +01:00
2014-12-10 22:40:10 +00:00
2015-11-10 17:53:31 +00:00
2015-11-10 17:53:31 +00:00
2015-02-10 20:35:50 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-01-10 19:20:16 +00:00
2016-02-29 15:42:03 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-01-10 22:41:16 +00:00
2016-01-10 22:41:16 +00:00
2016-02-15 18:30:24 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-07-15 12:10:05 +01:00
2016-02-08 16:33:56 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-02-10 20:35:50 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-15 22:38:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-02-08 16:30:00 +00:00
2016-01-10 22:41:16 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2016-01-10 22:41:16 +00:00
2015-02-10 20:35:50 +00:00
2015-11-10 17:53:31 +00:00
2014-12-10 22:40:10 +00:00
2015-02-10 20:35:50 +00:00
2015-11-13 16:05:59 +00:00
2016-01-10 22:41:16 +00:00
2015-02-10 20:35:50 +00:00
2015-07-16 14:37:19 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-11-10 17:53:31 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-09-16 21:26:26 +01:00
2016-03-14 08:07:42 +00:00
2015-07-16 14:37:19 +01:00
2016-01-10 22:41:16 +00:00
2015-11-10 17:53:31 +00:00
2015-02-04 16:33:02 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-07-16 14:37:19 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-06-30 10:26:44 +01:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-11-10 17:53:31 +00:00
2016-03-04 11:30:13 +00:00
2014-12-10 22:40:10 +00:00
2015-11-10 17:53:31 +00:00
2016-01-10 22:41:16 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2014-12-10 22:40:10 +00:00
2015-02-04 16:32:36 +00:00
2016-02-15 18:30:24 +00:00
2015-07-16 14:37:19 +01:00
2015-01-08 16:08:53 +00:00
2016-01-10 22:41:16 +00:00
2016-01-10 22:41:16 +00:00