smooth
A C++ library for Lie theory
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
AnyManifold Class Reference

Type erasure Manifold class. More...

#include <any.hpp>

Public Member Functions

 AnyManifold ()
 Constructor.
 
template<typename M >
 AnyManifold (const M &m)
 Construct from typed manifoild.
 
 AnyManifold (const AnyManifold &m)
 Copy constructor.
 
 AnyManifold (AnyManifold &&m)
 Move constructor.
 
AnyManifoldoperator= (const AnyManifold &m)
 Copy assignment.
 
AnyManifoldoperator= (AnyManifold &&m)
 Move assignment.
 
template<Manifold M>
M & get ()
 Get value (mutable).
 
template<Manifold M>
const M & get () const
 Get value (const).
 
Eigen::Index dof () const
 Degrees of freedom.
 
AnyManifold rplus (Eigen::Ref< const Eigen::VectorXd > a) const
 Right-plus.
 
Eigen::VectorXd rminus (const AnyManifold &m2) const
 Right-minus.
 

Detailed Description

Type erasure Manifold class.

Definition at line 15 of file any.hpp.

Constructor & Destructor Documentation

◆ AnyManifold() [1/4]

AnyManifold::AnyManifold ( )
inline

Constructor.

Definition at line 19 of file any.hpp.

◆ AnyManifold() [2/4]

template<typename M >
AnyManifold::AnyManifold ( const M &  m)
inlineexplicit

Construct from typed manifoild.

Definition at line 23 of file any.hpp.

◆ AnyManifold() [3/4]

AnyManifold::AnyManifold ( const AnyManifold m)
inline

Copy constructor.

Definition at line 27 of file any.hpp.

◆ AnyManifold() [4/4]

AnyManifold::AnyManifold ( AnyManifold &&  m)
inline

Move constructor.

Definition at line 30 of file any.hpp.

Member Function Documentation

◆ dof()

Eigen::Index AnyManifold::dof ( ) const
inline

Degrees of freedom.

Definition at line 61 of file any.hpp.

◆ get() [1/2]

template<Manifold M>
M & AnyManifold::get ( )
inline

Get value (mutable).

Definition at line 48 of file any.hpp.

◆ get() [2/2]

template<Manifold M>
const M & AnyManifold::get ( ) const
inline

Get value (const).

Definition at line 55 of file any.hpp.

◆ operator=() [1/2]

AnyManifold & AnyManifold::operator= ( AnyManifold &&  m)
inline

Move assignment.

Definition at line 40 of file any.hpp.

◆ operator=() [2/2]

AnyManifold & AnyManifold::operator= ( const AnyManifold m)
inline

Copy assignment.

Definition at line 33 of file any.hpp.

◆ rminus()

Eigen::VectorXd AnyManifold::rminus ( const AnyManifold m2) const
inline

Right-minus.

Definition at line 67 of file any.hpp.

◆ rplus()

AnyManifold AnyManifold::rplus ( Eigen::Ref< const Eigen::VectorXd >  a) const
inline

Right-plus.

Definition at line 64 of file any.hpp.


The documentation for this class was generated from the following file: