chrono::collision::ConvexShapeSphere Class Reference

Description

Sphere contact shape.

#include <ChDataStructures.h>

Inheritance diagram for chrono::collision::ConvexShapeSphere:
Collaboration diagram for chrono::collision::ConvexShapeSphere:

Public Member Functions

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

Public Attributes

real3 position
 
real radius