31 double cosine = std::cos(phi);
32 double sine = std::sin(phi);
33 Eigen::Matrix3d matrix;
35 matrix(1, 1) = cosine;
38 matrix(2, 2) = cosine;
44 double cosine = std::cos(phi);
45 double sine = std::sin(phi);
46 Eigen::Matrix3d matrix;
48 matrix(0, 0) = cosine;
51 matrix(2, 2) = cosine;
57 double cosine = std::cos(phi);
58 double sine = std::sin(phi);
59 Eigen::Matrix3d matrix;
61 matrix(0, 0) = cosine;
64 matrix(1, 1) = cosine;
73 return zrot * xrot * zrot2;
80 if (std::abs(
m_matrix(2, 2)) == 1.0) {
132 template kvector_t Transform3D::transformedInverse<kvector_t>(
const kvector_t& v)
const;
133 template cvector_t Transform3D::transformedInverse<cvector_t>(
const cvector_t& v)
const;
164 double alpha, beta, gamma;
166 return (alpha == 0.0 && beta == 0.0 && gamma == 0.0);
171 ostr <<
"Transform3D: " <<
m_matrix;
BasicVector3D< int > ivector_t
Three-dimensional vector template, for use with integer, double, or complex components.
T z() const
Returns z-component in cartesian coordinate system.
T y() const
Returns y-component in cartesian coordinate system.
T x() const
Returns x-component in cartesian coordinate system.