RobWorkProject  23.9.11-
Public Types | Public Member Functions | List of all members
BVCollider< COLLIDER, BVTYPE > Class Template Reference

abstract class describing interface of a bounding volume collision detector. The inheritance is template based to reduce virtual method overhead More...

#include <BVCollider.hpp>

Public Types

typedef BVTYPE BVType
 
typedef BVTYPE::value_type value_type
 

Public Member Functions

 BVCollider ()
 constructor
 
virtual ~BVCollider ()
 destructor
 
bool inCollision (const BVTYPE &bvA, const BVTYPE &bvB, const rw::math::Transform3D< value_type > &aTb)
 test if two bounding volumes are colliding More...
 

Detailed Description

template<class COLLIDER, class BVTYPE>
class rw::geometry::BVCollider< COLLIDER, BVTYPE >

abstract class describing interface of a bounding volume collision detector. The inheritance is template based to reduce virtual method overhead

Member Function Documentation

◆ inCollision()

bool inCollision ( const BVTYPE &  bvA,
const BVTYPE &  bvB,
const rw::math::Transform3D< value_type > &  aTb 
)
inline

test if two bounding volumes are colliding

Parameters
bvA[in] bounding volume A
bvB[in] bounding volume B
aTb[in] transform from bvA to bvB
Returns
true if in collision

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