RobWorkProject  23.9.11-
Classes | Namespaces | Typedefs | Functions
Rotation2D.hpp File Reference
#include <rw/common/Serializable.hpp>
#include <rw/math/Vector2D.hpp>
#include <Eigen/Core>

Classes

class  Rotation2D< T >
 A 2x2 rotation matrix \( \mathbf{R}\in SO(2) \). More...
 

Namespaces

 rw
 Deprecated namespace since 16/4-2020 for this class.
 
 rw::math
 Matrices, vectors, configurations, and more.
 
 rw::common
 Various utilities and definitions of general use.
 
 rw::common::serialization
 provide generic handler interface for serialization purposes. To enable serialization of some class MyClass one could either inherit from Serializable or provide overloaded methods to
 

Typedefs

using Rotation2Dd = Rotation2D< double >
 
using Rotation2Df = Rotation2D< float >
 

Functions

template<class T >
const Rotation2D< T > Rotation2DIdentity ()
 
template<class R , class T >
const Rotation2D< R > cast (const Rotation2D< T > &rot)
 Casts Rotation2D<T> to Rotation2D<Q> More...
 
template<class T >
const Rotation2D< T > transpose (const Rotation2D< T > &aRb)
 Find the transpose of aRb. More...
 
template<>
void write (const rw::math::Rotation2D< double > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void write (const rw::math::Rotation2D< float > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void read (rw::math::Rotation2D< double > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<>
void read (rw::math::Rotation2D< float > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<class Archive , class T >
void serialize (Archive &archive, rw::math::Rotation2D< T > &R, const unsigned int version)
 Boost serialization. More...
 

Function Documentation

◆ serialize()

void serialize ( Archive &  archive,
rw::math::Rotation2D< T > &  R,
const unsigned int  version 
)

Boost serialization.

Parameters
archive[in] the boost archive to read from or write to.
R[in/out] the rotation matrix to read/write.
version[in] class version (currently version 0).