Skip to content
Snippets Groups Projects
Commit 549e08b0 authored by Oliver Sander's avatar Oliver Sander Committed by sander@FU-BERLIN.DE
Browse files

add constructor from a translation and rotation

[[Imported from SVN: r6748]]
parent 89d85d30
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,16 @@ struct RigidBodyMotion
/** \brief The type used for coordinates */
typedef T ctype;
/** \brief Default constructor */
RigidBodyMotion()
{}
/** \brief Constructor from a translation and a rotation */
RigidBodyMotion(const Dune::FieldVector<ctype, dim>& translation,
const Rotation<dim,ctype>& rotation)
: r(translation), q(rotation)
{}
/** \brief The exponential map from a given point $p \in SE(d)$.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment