Description

Collision segment shape.

#include <ChCollisionShapeSegment.h>

Inheritance diagram for chrono::ChCollisionShapeSegment:
Collaboration diagram for chrono::ChCollisionShapeSegment:

Public Member Functions

 ChCollisionShapeSegment (std::shared_ptr< ChContactMaterial > material, const ChVector3d *point1, const ChVector3d *point2, bool owns_point1, bool owns_point2, double radius)
 
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
 
virtual ChAABB GetBoundingBox () const
 Get the shape bounding box. More...
 

Public Attributes

const ChVector3dP1
 
const ChVector3dP2
 
bool ownsP1
 
bool ownsP2
 
double radius
 

Additional Inherited Members

- Public Types inherited from chrono::ChCollisionShape
enum  Type {
  SPHERE, ELLIPSOID, BOX, CYLINDER,
  CYLSHELL, CONVEXHULL, TRIANGLEMESH, BARREL,
  POINT, SEGMENT, 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
 

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