pinocchio  3.3.0
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
CollisionPair Struct Reference
Inheritance diagram for CollisionPair:
Collaboration diagram for CollisionPair:

Public Types

typedef std::pair< GeomIndex, GeomIndex > Base
 

Public Member Functions

 CollisionPair ()
 Empty constructor.
 
 CollisionPair (const GeomIndex co1, const GeomIndex co2)
 Default constructor of a collision pair from two collision object indexes. More...
 
void disp (std::ostream &os) const
 
bool operator!= (const CollisionPair &rhs) const
 
bool operator== (const CollisionPair &rhs) const
 

Friends

std::ostream & operator<< (std::ostream &os, const CollisionPair &X)
 

Detailed Description

Definition at line 21 of file geometry.hpp.

Constructor & Destructor Documentation

◆ CollisionPair()

CollisionPair ( const GeomIndex  co1,
const GeomIndex  co2 
)

Default constructor of a collision pair from two collision object indexes.

Remarks
The two indexes must be different, otherwise the constructor throws.
Parameters
[in]co1Index of the first collision object.
[in]co2Index of the second collision object.

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