RobWorkProject  23.9.11-
Protected Member Functions | List of all members
Rotation3DAngleMetric< T > Class Template Reference

a distance metric over rotations. The distance between two rotations is the smalles angle that rotates the one into the other. More...

#include <MetricFactory.hpp>

Inherits Metric< rw::math::Rotation3D< T > >.

Protected Member Functions

doDistance (const rw::math::Rotation3D< T > &r) const
 Subclass implementation of the distance() method.
 
doDistance (const rw::math::Rotation3D< T > &a, const rw::math::Rotation3D< T > &b) const
 Subclass implementation of the distance() method.
 
- Protected Member Functions inherited from Metric< rw::math::Rotation3D< T > >
virtual int doSize () const
 Subclass implementation of the size() method. More...
 
 Metric ()
 Protected constructor called by subclassed.
 
 Metric (const Metric &)
 Disable copying of superclass.
 
Metricoperator= (const Metric &)
 Disable assignment of superclass.
 

Additional Inherited Members

- Public Types inherited from Metric< rw::math::Rotation3D< T > >
typedef rw::math::Rotation3D< T > value_type
 The type of element on which the metric operates.
 
typedef T::value_type scalar_type
 The type of the scalar.
 
typedef rw::core::Ptr< Metric< rw::math::Rotation3D< T > > > Ptr
 A pointer to a Metric<T>.
 
typedef rw::core::Ptr< const Metric< rw::math::Rotation3D< T > > > CPtr
 A pointer to a const Metric<T>.
 
- Public Member Functions inherited from Metric< rw::math::Rotation3D< T > >
virtual ~Metric ()
 Destructor.
 
scalar_type distance (const value_type &q) const
 The distance from the zero element to q.
 
scalar_type distance (const value_type &a, const value_type &b) const
 The distance from element a to b. More...
 
int size () const
 The dimension of elements on which this metric operates. More...
 

Detailed Description

template<class T>
class rw::math::Rotation3DAngleMetric< T >

a distance metric over rotations. The distance between two rotations is the smalles angle that rotates the one into the other.


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