#define AGXPHYSICS_EXPORT
A collection of merge ignore group ID pairs for which merge should be rejected.
void removeRejection(agx::UInt32 group1, agx::UInt32 group2)
Forget a previously added rejection pair.
static agx::Bool isNameId(agx::UInt32 id)
Check if the given group ID corresponds to a named group.
agx::Bool rejects(agx::UInt32 group1, agx::UInt32 group2) const
Check if the given group pair is on the rejection list.
static agx::UInt32 nameToId(const agx::Name &name)
Compute the group ID that corresponds to the given group name.
void store(agxStream::OutputArchive &archive) const
agx::Bool rejects(const agx::UInt32Vector &groups1, const agx::UInt32Vector &groups2) const
Check if there is any pair in the cartesian product of the given group lists for which a rejection ha...
static const agx::UInt32 MAX_UNAMED_GROUP_ID
The maximum ID that may be used to create an unamed group.
void restore(agxStream::InputArchive &archive)
void addRejection(agx::UInt32 group1, agx::UInt32 group2)
Add a rejection for the given group pair.
Class for writing serialized data in binary format to a stream.
Representation of a name string.
The agxSDK namespace contain classes to bridge the collision detection system and the dynamical simul...