17#ifndef AGX_SYMMETRICPAIR_H
18#define AGX_SYMMETRICPAIR_H
39 return ( a == this->first || a == this->second );
49 return (a.first == b.first && a.second == b.second) || (a.first == b.second && a.second == b.first);
73 output << pair.first <<
" : " << pair.second;
A std::pair, with both elements of the same type, and symmetric so (a, b) == (b, a)
bool contains(const T &a) const
SymmetricPair(const T &a, const T &b)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
UInt32 hash(const T &key)
bool operator!=(T val, InvalidIndexStruct)
std::ostream & operator<<(std::ostream &os, const agx::AddedMassInteraction::Matrix6x6 &m)
bool operator==(T val, InvalidIndexStruct)
void swap(agx::Name &lhs, agx::Name &rhs)