chrono::collision::ConvexShapeTriangle Class Reference

Description

Triangle contact shape.

#include <ChDataStructures.h>

Inheritance diagram for chrono::collision::ConvexShapeTriangle:
Collaboration diagram for chrono::collision::ConvexShapeTriangle:

Public Member Functions

 ConvexShapeTriangle (real3 &t1, real3 &t2, real3 t3)
 
int Type () const override
 
real3 A () const override
 
const real3Triangles () const override
 
- Public Member Functions inherited from chrono::collision::ConvexBase
virtual quaternion R () const
 
virtual int Size () const
 
virtual const real3Convex () const
 
virtual real Radius () const
 
virtual real3 Box () const
 
virtual real4 Rbox () const
 
virtual real2 Capsule () const
 
virtual uvec4 TetIndex () const
 
virtual const real3TetNodes () const
 

Public Attributes

real3 tri [3]