RobWorkProject  21.8.23-
Public Types | Public Member Functions | List of all members
SphereDistanceCalc< T > Class Template Reference

class for testing if two Oriented Bounding Boxes are overlapping More...

#include <SphereDistanceCalc.hpp>

Inherits BVDistanceCalc< SphereDistanceCalc< double >, rw::geometry::BSphere< double > >.

Public Types

typedef T value_type
 
- Public Types inherited from BVDistanceCalc< SphereDistanceCalc< double >, rw::geometry::BSphere< double > >
typedef rw::geometry::BSphere< double > BVType
 
typedef rw::geometry::BSphere< double > ::value_type value_type
 

Public Member Functions

 SphereDistanceCalc ()
 constructor
 
virtual ~SphereDistanceCalc ()
 destructor
 
distance (const rw::geometry::BSphere< T > &a, const rw::geometry::BSphere< T > &b, const rw::math::Vector3D< T > &aTb)
 Calculates the distance between two bounding spheres.
 
distance (const rw::geometry::BSphere< T > &a, const rw::geometry::BSphere< T > &b)
 Calculates the distance between two bounding spheres.
 
distanceSqr (const rw::geometry::BSphere< T > &a, const rw::geometry::BSphere< T > &b, const rw::math::Vector3D< T > &aTb)
 calculates the squared distance between two bounding spheres.
 
- Public Member Functions inherited from BVDistanceCalc< SphereDistanceCalc< double >, rw::geometry::BSphere< double > >
value_type distance (const rw::geometry::BSphere< double > &a, const rw::geometry::BSphere< double > &b, const rw::math::Transform3D< value_type > &aTb)
 
value_type distance (const rw::geometry::BSphere< double > &a, const rw::geometry::BSphere< double > &b, const rw::math::Vector3D< value_type > &aTb)
 
value_type distance (const rw::geometry::BSphere< double > &a, const rw::geometry::BSphere< double > &b)
 

Detailed Description

template<class T = double>
class rw::proximity::SphereDistanceCalc< T >

class for testing if two Oriented Bounding Boxes are overlapping


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