23 #include <boost/operators.hpp>
55 private boost::additive<Quat>,
56 private boost::multiplicative<Quat, Real>,
57 private boost::multiplicative<Quat,Quat>
71 Mat3 ToRotationMatrix()
const;
76 Real GetAngle()
const;
Quat DLLEXPORT_OST_GEOM Normalize(const Quat &q)
Quat DLLEXPORT_OST_GEOM Conjugate(const Quat &q)
Real DLLEXPORT_OST_GEOM Dot(const Quat &q0, const Quat &q1)
Quat DLLEXPORT_OST_GEOM Inv(const Quat &q)
bool DLLEXPORT_OST_GEOM operator==(const Line2 &l1, const Line2 &l2)
Quat DLLEXPORT_OST_GEOM Slerp(const Quat &q0, const Quat &q1, Real t)
Quat DLLEXPORT_OST_GEOM Log(const Quat &q)
Three dimensional vector class, using Real precision.
bool operator!=(const Quat &q) const
std::ostream & operator<<(std::ostream &os, const AlignedCuboid &c)
#define DLLEXPORT_OST_GEOM
DLLEXPORT Vec2 Rotate(const Vec2 &v, Real ang)
Rotation.
Quat DLLEXPORT_OST_GEOM Exp(const Quat &q)
DLLEXPORT_OST_IMG_BASE ImageHandle operator-(const ConstImageHandle &h, Real v)