chrono::collision::ConvexShapeCustom Class Reference

Description

Custom contact shape.

#include <ChDataStructures.h>

Inheritance diagram for chrono::collision::ConvexShapeCustom:
Collaboration diagram for chrono::collision::ConvexShapeCustom:

Public Member Functions

 ConvexShapeCustom (const int t, const real3 &p, const quaternion &rot, const real3 &d, const real r=0)
 
int Type () const override
 
real3 A () const override
 
quaternion R () const override
 
real Radius () const override
 
real3 Box () const override
 
real4 Rbox () const override
 
real2 Capsule () const override
 
- Public Member Functions inherited from chrono::collision::ConvexBase
virtual int Size () const
 
virtual const real3Convex () const
 
virtual const real3Triangles () const
 
virtual uvec4 TetIndex () const
 
virtual const real3TetNodes () const
 

Public Attributes

int type
 
real3 position
 
quaternion rotation
 
real3 dimensions
 
real radius