SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::component::collision::TIntrOBBOBB< TDataTypes > Class Template Reference

#include <IntrOBBOBB.h>

Inheritance diagram for sofa::component::collision::TIntrOBBOBB< TDataTypes >:

Public Member Functions

 TIntrOBBOBB (const Box &box0, const Box &box1)
 
const BoxGetBox0 () const
 
const BoxGetBox1 () const
 
virtual bool Test ()
 
virtual bool Test (Real tmax, const sofa::defaulttype::Vec< 3, Real > &velocity0, const sofa::defaulttype::Vec< 3, Real > &velocity1)
 
bool Find (Real dmax)
 
- Public Member Functions inherited from sofa::component::collision::Intersector< TDataTypes::Real >
const Vec3separatingAxis () const
 
const Vec3pointOnFirst () const
 
const Vec3pointOnSecond () const
 
bool colliding () const
 

Additional Inherited Members

- Protected Attributes inherited from sofa::component::collision::Intersector< TDataTypes::Real >
Vec3 _sep_axis
 
Vec3 _pt_on_first
 
Vec3 _pt_on_second
 
TDataTypes::Real mContactTime
 
bool _is_colliding
 

Constructor details

template<class TDataTypes >
sofa::component::collision::TIntrOBBOBB< TDataTypes >::TIntrOBBOBB ( const Box box0,
const Box box1 
)

Function details

template<class TDataTypes >
bool sofa::component::collision::TIntrOBBOBB< TDataTypes >::Find ( Real  dmax)
template<class TDataTypes >
const TIntrOBBOBB< TDataTypes >::Box & sofa::component::collision::TIntrOBBOBB< TDataTypes >::GetBox0 ( ) const
template<class TDataTypes >
const TIntrOBBOBB< TDataTypes >::Box & sofa::component::collision::TIntrOBBOBB< TDataTypes >::GetBox1 ( ) const
template<class TDataTypes >
bool sofa::component::collision::TIntrOBBOBB< TDataTypes >::Test ( )
virtual
template<class TDataTypes >
virtual bool sofa::component::collision::TIntrOBBOBB< TDataTypes >::Test ( Real  tmax,
const sofa::defaulttype::Vec< 3, Real > &  velocity0,
const sofa::defaulttype::Vec< 3, Real > &  velocity1 
)
virtual