SOFA plugin: CollisionOBBCapsule  master
Open source framework for multi-physics simuation
collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes > Class Template Reference

#include <IntrOBBOBB.h>

Inheritance diagram for collisionobbcapsule::detection::intersection::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::type::Vec< 3, Real > &velocity0, const sofa::type::Vec< 3, Real > &velocity1)
 
bool Find (Real dmax)
 
- Public Member Functions inherited from collisionobbcapsule::detection::intersection::Intersector< TDataTypes::Real >
const Vec3separatingAxis () const
 
const Vec3pointOnFirst () const
 
const Vec3pointOnSecond () const
 
bool colliding () const
 

Additional Inherited Members

- Protected Attributes inherited from collisionobbcapsule::detection::intersection::Intersector< TDataTypes::Real >
Vec3 _sep_axis
 
Vec3 _pt_on_first
 
Vec3 _pt_on_second
 
TDataTypes::Real mContactTime
 
bool _is_colliding
 

Constructor details

◆ TIntrOBBOBB()

template<class TDataTypes >
collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::TIntrOBBOBB ( const Box box0,
const Box box1 
)

Function details

◆ Find()

template<class TDataTypes >
bool collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::Find ( Real  dmax)

◆ GetBox0()

template<class TDataTypes >
const TIntrOBBOBB< TDataTypes >::Box & collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::GetBox0

◆ GetBox1()

template<class TDataTypes >
const TIntrOBBOBB< TDataTypes >::Box & collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::GetBox1

◆ Test() [1/2]

template<class TDataTypes >
bool collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::Test
virtual

◆ Test() [2/2]

template<class TDataTypes >
bool collisionobbcapsule::detection::intersection::TIntrOBBOBB< TDataTypes >::Test ( Real  tmax,
const sofa::type::Vec< 3, Real > &  velocity0,
const sofa::type::Vec< 3, Real > &  velocity1 
)
virtual