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

#include <IntrTriangleOBB.h>

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

Detailed Description

template<class TDataTypes, class TDataTypes2>
class sofa::component::collision::TIntrTriangleOBB< TDataTypes, TDataTypes2 >

TDataTypes is the sphere type and TDataTypes2 the OBB type.

Public Member Functions

 TIntrTriangleOBB (const IntrTri &tri, const Box &box)
 
bool Find (Real tmax, int tri_flg)
 
bool Find (Real tmax)
 
- 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::TIntrTriangleOBB< TDataTypes, TDataTypes2 >::TIntrTriangleOBB ( const IntrTri tri,
const Box box 
)

Function details

template<typename TDataTypes , typename TDataTypes2 >
bool sofa::component::collision::TIntrTriangleOBB< TDataTypes, TDataTypes2 >::Find ( Real  tmax,
int  tri_flg 
)
template<typename TDataTypes , typename TDataTypes2 >
bool sofa::component::collision::TIntrTriangleOBB< TDataTypes, TDataTypes2 >::Find ( Real  tmax)
inline