Gazebo Physics

API Reference

6.7.0
CollisionPairMaxContacts::Implementation< PolicyT > Class Template Referenceabstract

The implementation API for getting and setting max contacts. More...

#include <World.hh>

Public Member Functions

virtual std::size_t GetWorldCollisionPairMaxContacts (const Identity &_id) const =0
 Implementation API for getting the maximum number of contacts between two entities. More...
 
virtual void SetWorldCollisionPairMaxContacts (const Identity &_id, std::size_t _maxContacts)=0
 Implementation API for setting the maximum number of contacts between two entities. More...
 
- Public Member Functions inherited from Feature::Implementation< PolicyT >
virtual ~Implementation ()=default
 Virtual destructor. More...
 
virtual Identity InitiateEngine (std::size_t engineID=0)=0
 Tell the physics plugin to initiate a physics engine. More...
 

Detailed Description

template<typename PolicyT>
class gz::physics::CollisionPairMaxContacts::Implementation< PolicyT >

The implementation API for getting and setting max contacts.

Member Function Documentation

◆ GetWorldCollisionPairMaxContacts()

virtual std::size_t GetWorldCollisionPairMaxContacts ( const Identity &  _id) const
pure virtual

Implementation API for getting the maximum number of contacts between two entities.

Parameters
[in]_idIdentity of the world.
Returns
Maximum number of contacts.

◆ SetWorldCollisionPairMaxContacts()

virtual void SetWorldCollisionPairMaxContacts ( const Identity &  _id,
std::size_t  _maxContacts 
)
pure virtual

Implementation API for setting the maximum number of contacts between two entities.

Parameters
[in]_idIdentity of the world.
[in]_maxContactsMaximum number of contacts.

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