Drake
PointContactDetail< T > Class Template Reference

An implementation of the ContactDetail where the contact details consist of a single ContactForce. More...

#include <drake/attic/multibody/rigid_body_plant/point_contact_detail.h>

Public Member Functions

 PointContactDetail (const ContactForce< T > &force)
 
std::unique_ptr< ContactDetail< T > > Clone () const override
 
ContactForce< T > ComputeContactForce () const override
 Computes a single equivalent contact force to the underlying contact details. More...
 
Does not allow copy, move, or assignment
 PointContactDetail (const PointContactDetail &)=delete
 
PointContactDetailoperator= (const PointContactDetail &)=delete
 
 PointContactDetail (PointContactDetail &&)=delete
 
PointContactDetailoperator= (PointContactDetail &&)=delete
 
- Public Member Functions inherited from ContactDetail< T >
 ContactDetail ()
 
virtual ~ContactDetail ()
 
 ContactDetail (const ContactDetail &)=delete
 
ContactDetailoperator= (const ContactDetail &)=delete
 
 ContactDetail (ContactDetail &&)=delete
 
ContactDetailoperator= (ContactDetail &&)=delete
 

Detailed Description

template<typename T>
class drake::systems::PointContactDetail< T >

An implementation of the ContactDetail where the contact details consist of a single ContactForce.

Template Parameters
TThe scalar type. It must be a valid Eigen scalar.

Instantiated templates for the following ScalarTypes are provided:

  • double
  • AutoDiffXd

Constructor & Destructor Documentation

◆ PointContactDetail() [1/3]

PointContactDetail ( const PointContactDetail< T > &  )
delete

◆ PointContactDetail() [2/3]

PointContactDetail ( PointContactDetail< T > &&  )
delete

◆ PointContactDetail() [3/3]

PointContactDetail ( const ContactForce< T > &  force)
explicit

Member Function Documentation

◆ Clone()

unique_ptr< ContactDetail< T > > Clone ( ) const
overridevirtual

Implements ContactDetail< T >.

◆ ComputeContactForce()

ContactForce<T> ComputeContactForce ( ) const
inlineoverridevirtual

Computes a single equivalent contact force to the underlying contact details.

Implements ContactDetail< T >.

◆ operator=() [1/2]

PointContactDetail& operator= ( const PointContactDetail< T > &  )
delete

◆ operator=() [2/2]

PointContactDetail& operator= ( PointContactDetail< T > &&  )
delete

The documentation for this class was generated from the following files: