9#include "MantidKernel/DllConfig.h"
14#include <Eigen/Geometry>
34 return Kernel::Quat(quat.w(), quat.x(), quat.y(), quat.z());
std::vector< T > const * vec
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.
Implements a 2-dimensional vector embedded in a 3D space, i.e.
Kernel::Quat toQuat(const Eigen::Quaterniond &quat)
Converts Eigen::Quaterniond to Kernel::Quat.
Kernel::V2D toV2D(const Eigen::Vector2d &vec)
Converts Eigen::Vector2d to Kernel::V2D.
Eigen::Vector3d toVector3d(const Kernel::V3D &vec)
Converts Kernel::V3D to Eigen::Vector3d.
Eigen::Vector2d toVector2d(const Kernel::V2D &vec)
Converts Kernel::V2D to Eigen::Vector2d.
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.