9#include "MantidKernel/DllConfig.h"
13#include <Eigen/Geometry>
30 return Kernel::Quat(quat.w(), quat.x(), quat.y(), quat.z());
double imagJ() const
Access the coefficient of j.
double real() const
Access the real part.
double imagI() const
Access the coefficient of i.
double imagK() const
Access the coefficient of k.
Kernel::Quat toQuat(const Eigen::Quaterniond &quat)
Converts Eigen::Quaterniond to Kernel::Quat.
Eigen::Vector3d toVector3d(const Kernel::V3D &vec)
Converts Kernel::V3D to Eigen::Vector3d.
Kernel::V3D toV3D(const Eigen::Vector3d &vec)
This header provides conversion helpers between vector and rotation types in MantidKernel and equival...
Eigen::Quaterniond toQuaterniond(const Kernel::Quat &quat)
Converts Kernel::Quat to Eigen::Quaterniond.
Helper class which provides the Collimation Length for SANS instruments.