chrono::ChCollisionShapeRoundedBox Class Reference

Description

Collision rounded-box shape.

#include <ChCollisionShapeRoundedBox.h>

Inheritance diagram for chrono::ChCollisionShapeRoundedBox:
Collaboration diagram for chrono::ChCollisionShapeRoundedBox:

Public Member Functions

 ChCollisionShapeRoundedBox (std::shared_ptr< ChContactMaterial > material, double length_x, double length_y, double length_z, double sradius)
 
 ChCollisionShapeRoundedBox (std::shared_ptr< ChContactMaterial > material, const ChVector3d &lengths, double sradius)
 
 ChCollisionShapeRoundedBox (std::shared_ptr< ChContactMaterial > material, const ChRoundedBox &box)
 
ChRoundedBoxGetGeometry ()
 Access the rounded box geometry.
 
const ChVector3dGetHalflengths () const
 Get the box half-lengths.
 
ChVector3d GetLengths () const
 Get the box dimensions.
 
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.
 
- Public Member Functions inherited from chrono::ChCollisionShape
 ChCollisionShape (Type type=Type::UNKNOWN_SHAPE)
 
 ChCollisionShape (Type type, std::shared_ptr< ChContactMaterial > material)
 
Type GetType () const
 
std::shared_ptr< ChContactMaterialGetMaterial () 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< ChContactMaterialm_material
 surface contact material
 

Member Function Documentation

◆ ArchiveIn()

void chrono::ChCollisionShapeRoundedBox::ArchiveIn ( ChArchiveIn & archive_in)
overridevirtual

Method to allow de-serialization of transient data from archives.

Reimplemented from chrono::ChCollisionShape.

◆ ArchiveOut()

void chrono::ChCollisionShapeRoundedBox::ArchiveOut ( ChArchiveOut & archive_out)
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/ChCollisionShapeRoundedBox.h
  • C:/M/B/src/chrono-9.0.1/src/chrono/collision/ChCollisionShapeRoundedBox.cpp