File BulletSiconosCommon.hpp

Free functions, typedefs, enums …

Library of function to convert between siconos or boost quaternions and bullet vector Note: these functions are in addition of those of RotationQuaternion.hpp (kernel)

namespace siconos
namespace collision

Collision description and detection tools.

namespace bullet

bullet (optional) implementation of collision detection

Functions

void copyQuatPos(const btVector3 &from, boost::math::quaternion<double> &to)
void copyBtVector3(const btVector3 &from, siconos::algebra::SiconosVector3 &to)
void copyQuatPos2d(const btVector3 &from, boost::math::quaternion<double> &to)
void copyBtVector32d(const btVector3 &from, siconos::algebra::SiconosVector2 &to)