RobWorkProject
24.8.23

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  
T  doDistance (const rw::math::Rotation3D< T > &r) const 
Subclass implementation of the distance() method.  
T  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.  
Metric &  operator= (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...  
a distance metric over rotations. The distance between two rotations is the smalles angle that rotates the one into the other.