chrono::collision::ChCollisionShape Class Reference

Description

Class defining a collision shape.

#include <ChCollisionShape.h>

Inheritance diagram for chrono::collision::ChCollisionShape:

Public Types

enum  Type {
  SPHERE, ELLIPSOID, BOX, CYLINDER,
  CYLSHELL, CONVEXHULL, TRIANGLEMESH, BARREL,
  POINT, TRIANGLE, CAPSULE, CONE,
  ROUNDEDBOX, ROUNDEDCYL, ROUNDEDCONE, CONVEX,
  TETRAHEDRON, PATH2D, UNKNOWN_SHAPE
}
 Supported collision shape types.
 

Public Member Functions

 ChCollisionShape (Type type, std::shared_ptr< ChMaterialSurface > material)
 
Type GetType () const
 
std::shared_ptr< ChMaterialSurfaceGetMaterial () const
 
ChContactMethod GetContactMethod () const
 

Protected Attributes

Type m_type
 type of collision shape
 
std::shared_ptr< ChMaterialSurfacem_material
 surface contact material
 

Friends

class ChCollisionModel
 

The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/collision/ChCollisionShape.h
  • /builds/uwsbel/chrono/src/chrono/collision/ChCollisionShape.cpp