file new in 2019.10
GeometryIntegration.hConversion of Eigen geometry types.
Provides conversion for the following types. See Magnum/
Example usage:
#include <Magnum/EigenIntegration/GeometryIntegration.h> … auto a = Matrix3::translation({-1.5f, 0.3f})* Matrix3::rotation(25.0_degf)* Matrix3::scaling({1.23f, 2.0f}); auto b = Eigen::Affine2f(a); auto c = Matrix4d(Eigen::Isometry3d::Identity());
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Math
- Math library.
- namespace Magnum::EigenIntegration new in 2019.10
- Integration with Eigen.
Functions
-
template<class To, class T>auto cast(const Math::Quaternion<T>& from) -> To new in 2019.10
- Convert a Magnum type to Eigen type.