Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-fcl
Commits
aaa4659e
Commit
aaa4659e
authored
Sep 13, 2016
by
Valenza Florian
Browse files
Provide operator== for DistanceResult
parent
5f2e2ad7
Changes
1
Show whitespace changes
Inline
Side-by-side
include/hpp/fcl/collision_data.h
View file @
aaa4659e
...
...
@@ -468,6 +468,16 @@ public:
b1
=
NONE
;
b2
=
NONE
;
}
/// @brief whether two DistanceResult are the same or not
inline
bool
operator
==
(
const
DistanceResult
&
other
)
const
{
return
min_distance
==
other
.
min_distance
&&
o1
==
other
.
o1
&&
o2
==
other
.
o2
&&
nearest_points
[
0
]
==
other
.
nearest_points
[
0
]
&&
nearest_points
[
1
]
==
other
.
nearest_points
[
1
];
}
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment