From 5dc9a9408856a38fa3a8d03228c4c384b4309ebb Mon Sep 17 00:00:00 2001 From: Justin Carpentier <justin.carpentier@inria.fr> Date: Sat, 7 Dec 2019 12:29:29 +0100 Subject: [PATCH] collision: add operator != for Contact --- include/hpp/fcl/collision_data.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/hpp/fcl/collision_data.h b/include/hpp/fcl/collision_data.h index fdc9993a..db611061 100644 --- a/include/hpp/fcl/collision_data.h +++ b/include/hpp/fcl/collision_data.h @@ -129,6 +129,11 @@ struct Contact && pos == other.pos && penetration_depth == other.penetration_depth; } + + bool operator != (const Contact& other) const + { + return !(*this == other); + } }; struct CollisionResult; -- GitLab