RobWorkProject  24.5.15-
Classes | Namespaces | Typedefs | Functions | Variables
Transform2D.hpp File Reference
#include <rw/math/Rotation2D.hpp>
#include <rw/math/Vector2D.hpp>
#include <cassert>

Classes

class  Transform2D< T >
 
struct  Transform2DIdentity< T >
 A 3x3 homogeneous transform matrix \( \mathbf{T}\in SE(2) \). More...
 
struct  Transform2DIdentity< double >
 
struct  Transform2DIdentity< float >
 

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 Transform2Dd = Transform2D< double >
 
using Transform2Df = Transform2D< float >
 

Functions

template<class Q , class T >
const Transform2D< Q > cast (const Transform2D< T > &trans)
 Cast Transform2D<T> to Transform2D<Q> More...
 
template<>
void write (const rw::math::Transform2D< double > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void write (const rw::math::Transform2D< float > &sobject, rw::common::OutputArchive &oarchive, const std::string &id)
 
template<>
void read (rw::math::Transform2D< double > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<>
void read (rw::math::Transform2D< float > &sobject, rw::common::InputArchive &iarchive, const std::string &id)
 
template<class Archive , class T >
void serialize (Archive &archive, rw::math::Transform2D< T > &transform, const unsigned int version)
 Boost serialization. More...
 

Variables

const Transform2D< double > Transform2DDoubleIdentity
 
const Transform2D< float > Transform2DFloatIdentity
 

Function Documentation

◆ serialize()

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

Boost serialization.

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