dart
Public Member Functions | Public Attributes | List of all members
dart::collision::CollisionOption Struct Reference

Public Member Functions

 CollisionOption (bool enableContact=true, std::size_t maxNumContacts=1000u, const std::shared_ptr< CollisionFilter > &collisionFilter=nullptr)
 Constructor.
 

Public Attributes

bool enableContact
 Flag whether the collision detector computes contact information (contact point, normal, and penetration depth). More...
 
std::size_t maxNumContacts
 Maximum number of contacts to detect. More...
 
std::shared_ptr< CollisionFiltercollisionFilter
 CollisionFilter.
 

Member Data Documentation

◆ enableContact

bool dart::collision::CollisionOption::enableContact

Flag whether the collision detector computes contact information (contact point, normal, and penetration depth).

If it is set to false, only the result of that which pairs are colliding will be stored in the CollisionResult without the contact information.

◆ maxNumContacts

std::size_t dart::collision::CollisionOption::maxNumContacts

Maximum number of contacts to detect.

Once the contacts are found up to this number, the collision checking will terminate at that moment. Set this to 1 for binary check.


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