Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-constraints
Commits
95d52bc4
Commit
95d52bc4
authored
Jul 30, 2021
by
Florent Lamiraux
Browse files
[Implicit] move operator== to cc file.
parent
1d933ee1
Changes
3
Hide whitespace changes
Inline
Side-by-side
include/hpp/constraints/convex-shape-contact.hh
View file @
95d52bc4
...
...
@@ -274,7 +274,7 @@ namespace hpp {
const
ConvexShapeContactComplement
&
castother
=
dynamic_cast
<
const
ConvexShapeContactComplement
&>
(
other
);
if
(
!
DifferentiableFunction
::
isEqual
(
other
))
return
false
;
return
(
sibling_
!=
castother
.
sibling_
);
return
(
*
sibling_
!=
*
(
castother
.
sibling_
)
)
;
}
private:
void
impl_compute
(
LiegroupElementRef
result
,
ConfigurationIn_t
argument
)
const
;
...
...
include/hpp/constraints/implicit.hh
View file @
95d52bc4
...
...
@@ -114,10 +114,7 @@ namespace hpp {
class
HPP_CONSTRAINTS_DLLAPI
Implicit
{
public:
/// Operator equality
bool
operator
==
(
const
Implicit
&
other
)
const
{
return
isEqual
(
other
,
true
);
}
bool
operator
==
(
const
Implicit
&
other
)
const
;
/// Copy object and return shared pointer to copy
virtual
ImplicitPtr_t
copy
()
const
;
/// Create a shared pointer to a new instance.
...
...
src/implicit.cc
View file @
95d52bc4
...
...
@@ -27,6 +27,11 @@
namespace
hpp
{
namespace
constraints
{
bool
Implicit
::
operator
==
(
const
Implicit
&
other
)
const
{
bool
res
=
isEqual
(
other
,
true
);
return
res
;
}
size_type
computeParameterSize
(
const
ComparisonTypes_t
&
comp
)
{
size_type
size
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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