chrono::ChCollisionShapeArc2D Class Reference

Description

Collision 2D arc shape.

This is a low-level collsion shape that is automatically generated when adding a ChCollisionShapePath2D.

#include <ChCollisionShapeArc2D.h>

Inheritance diagram for chrono::ChCollisionShapeArc2D:
Collaboration diagram for chrono::ChCollisionShapeArc2D:

Public Member Functions

 ChCollisionShapeArc2D (std::shared_ptr< ChMaterialSurface > material, const geometry::ChLineArc &arc, double radius)
 
geometry::ChLineArcGetGeometry ()
 Access the arc geometry.
 
double GetSRadius () const
 Get the arc thickness (the radius of a sweeping sphere).
 
virtual void ArchiveOut (ChArchiveOut &marchive) override
 Method to allow serialization of transient data to archives.
 
virtual void ArchiveIn (ChArchiveIn &marchive) override
 Method to allow de-serialization of transient data from archives.
 
- Public Member Functions inherited from chrono::ChCollisionShape
 ChCollisionShape (Type type=Type::UNKNOWN_SHAPE)
 
 ChCollisionShape (Type type, std::shared_ptr< ChMaterialSurface > material)
 
Type GetType () const
 
std::shared_ptr< ChMaterialSurfaceGetMaterial () const
 
ChContactMethod GetContactMethod () const
 

Additional Inherited Members

- Public Types inherited from chrono::ChCollisionShape
enum  Type {
  SPHERE, ELLIPSOID, BOX, CYLINDER,
  CYLSHELL, CONVEXHULL, TRIANGLEMESH, BARREL,
  POINT, TRIANGLE, MESHTRIANGLE, CAPSULE,
  CONE, ROUNDEDBOX, ROUNDEDCYL, TETRAHEDRON,
  PATH2D, SEGMENT2D, ARC2D, UNKNOWN_SHAPE
}
 Supported collision shape types.
 
- Protected Attributes inherited from chrono::ChCollisionShape
Type m_type
 type of collision shape
 
std::shared_ptr< ChMaterialSurfacem_material
 surface contact material
 

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