Henry Weller
b4ebcd770f
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
..
2010-11-23 16:26:04 +01:00
2013-03-13 09:45:16 +00:00
2015-07-16 14:37:19 +01:00
2015-08-06 16:54:47 +01:00
2014-12-11 08:35: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
2011-08-14 12:17:30 +01:00
2014-12-11 08:35:10 +00:00
2011-08-14 12:17:30 +01:00
2013-07-04 10:00:44 +01:00
2016-01-10 19:20:16 +00:00
2012-01-11 09:48:45 +00:00
2011-08-14 12:17:30 +01:00
2012-12-11 16:38:39 +00:00
2016-01-10 22:41:16 +00:00
2011-08-14 12:17:30 +01:00
2015-11-11 09:03:39 +00:00
2016-01-10 22:41:16 +00:00
2010-11-23 16:26:04 +01:00
2011-08-14 12:17:30 +01:00
2016-02-26 08:13:59 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01: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
2011-08-14 12:17:30 +01:00
2016-02-08 16:18:07 +00:00
2015-07-16 14:37:19 +01:00
2013-01-17 11:06:38 +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
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2016-01-10 19:20:16 +00:00
2016-02-29 15:42:03 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01: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
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2015-07-15 12:10:05 +01:00
2016-02-08 16:33:56 +00:00
2011-08-14 12:17:30 +01:00
2011-09-09 12:05:12 +01:00
2013-06-07 08:57:04 +01:00
2011-06-08 15:37:11 +01:00
2011-08-14 12:17:30 +01:00
2015-02-10 20:35:50 +00:00
2011-08-14 12:17:30 +01:00
2013-03-13 09:45:16 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2014-12-15 22:38:10 +00:00
2013-11-09 13:53:37 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2016-02-08 16:30:00 +00:00
2016-01-10 22:41:16 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01: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
2011-08-14 12:17:30 +01: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
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2015-11-10 17:53:31 +00:00
2011-08-14 12:17:30 +01:00
2013-09-25 10:11:36 +01: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
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2015-07-16 14:37:19 +01:00
2011-08-14 12:17:30 +01:00
2013-09-25 10:11:36 +01:00
2015-06-30 10:26:44 +01:00
2011-08-14 12:17:30 +01:00
2014-12-11 08:35:10 +00:00
2011-08-14 12:17:30 +01:00
2013-10-14 14:48:05 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2015-11-10 17:53:31 +00:00
2016-03-04 11:30:13 +00:00
2012-02-01 12:30:16 +00:00
2015-11-10 17:53:31 +00:00
2016-01-10 22:41:16 +00:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2010-11-23 16:26:04 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2011-08-14 12:17:30 +01:00
2013-09-27 22:47:59 +01:00
2010-11-23 16:26:04 +01: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