SOFA API  6a688117
Open source framework for multi-physics simuation
sofa::component::collision::TIntrCapsuleOBB< TDataTypes, TDataTypes2 > Class Template Reference

#include <IntrCapsuleOBB.h>

Inheritance diagram for sofa::component::collision::TIntrCapsuleOBB< TDataTypes, TDataTypes2 >:

Detailed Description

template<typename TDataTypes, typename TDataTypes2>
class sofa::component::collision::TIntrCapsuleOBB< TDataTypes, TDataTypes2 >

TDataTypes is the capsule type and TDataTypes2 the OBB type.

Public Member Functions

 TIntrCapsuleOBB (const IntrCap &capsule, const Box &box)
 
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<typename TDataTypes , typename TDataTypes2 >
sofa::component::collision::TIntrCapsuleOBB< TDataTypes, TDataTypes2 >::TIntrCapsuleOBB ( const IntrCap capsule,
const Box box 
)

Function details

template<typename TDataTypes , typename TDataTypes2 >
bool sofa::component::collision::TIntrCapsuleOBB< TDataTypes, TDataTypes2 >::Find ( Real  dmax)