chrono::ChCollisionShapeRoundedCylinder Class Reference
Description
Collision rounded-cylinder shape.
When added to a collision model, the cylinder is defined with its axis along the Z direction of the shape frame.
#include <ChCollisionShapeRoundedCylinder.h>
Inheritance diagram for chrono::ChCollisionShapeRoundedCylinder:

Collaboration diagram for chrono::ChCollisionShapeRoundedCylinder:

Public Member Functions | |
ChCollisionShapeRoundedCylinder (std::shared_ptr< ChContactMaterial > material, double radius, double height, double sradius) | |
ChCollisionShapeRoundedCylinder (std::shared_ptr< ChContactMaterial > material, const ChRoundedCylinder &cyl) | |
ChRoundedCylinder & | GetGeometry () |
double | GetRadius () const |
Get the cylinder radius. | |
double | GetHeight () const |
Get the cylinder height. | |
double | GetSRadius () const |
Get the radius of the sweeping sphere. | |
virtual void | ArchiveOut (ChArchiveOut &archive_out) override |
Method to allow serialization of transient data to archives. | |
virtual void | ArchiveIn (ChArchiveIn &archive_in) override |
Method to allow de-serialization of transient data from archives. | |
![]() | |
ChCollisionShape (Type type=Type::UNKNOWN_SHAPE) | |
ChCollisionShape (Type type, std::shared_ptr< ChContactMaterial > material) | |
Type | GetType () const |
std::shared_ptr< ChContactMaterial > | GetMaterial () const |
ChContactMethod | GetContactMethod () const |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
Type | m_type |
type of collision shape | |
std::shared_ptr< ChContactMaterial > | m_material |
surface contact material | |
Member Function Documentation
◆ ArchiveIn()
|
overridevirtual |
Method to allow de-serialization of transient data from archives.
Reimplemented from chrono::ChCollisionShape.
◆ ArchiveOut()
|
overridevirtual |
Method to allow serialization of transient data to archives.
Reimplemented from chrono::ChCollisionShape.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono/collision/ChCollisionShapeRoundedCylinder.h
- C:/M/B/src/chrono-9.0.1/src/chrono/collision/ChCollisionShapeRoundedCylinder.cpp