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)
 
int Type () const override
 
real3 A () const override
 
real Radius () const override
 
- Public Member Functions inherited from chrono::collision::ConvexBase
virtual quaternion R () const
 
virtual int Size () const
 
virtual const real3Convex () const
 
virtual const real3Triangles () const
 
virtual real3 Box () const
 
virtual real4 Rbox () const
 
virtual real2 Capsule () const
 
virtual uvec4 TetIndex () const
 
virtual const real3TetNodes () const
 

Public Attributes

real3 position
 
real radius