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
Stack Of Tasks
pinocchio
Commits
9a11b8ea
Verified
Commit
9a11b8ea
authored
Dec 15, 2019
by
Justin Carpentier
Browse files
spatial/se3: rename __equal__ into isEqual
parent
5e6ab9e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/spatial/se3-base.hpp
View file @
9a11b8ea
...
...
@@ -96,7 +96,7 @@ namespace pinocchio
}
bool
operator
==
(
const
Derived
&
other
)
const
{
return
derived
().
__e
qual
__
(
other
);
}
{
return
derived
().
isE
qual
(
other
);
}
bool
operator
!=
(
const
Derived
&
other
)
const
{
return
!
(
*
this
==
other
);
}
...
...
src/spatial/se3-tpl.hpp
View file @
9a11b8ea
...
...
@@ -252,7 +252,7 @@ namespace pinocchio
{
return
this
->
act_impl
(
m2
);}
template
<
int
O2
>
bool
__e
qual
__
(
const
SE3Tpl
<
Scalar
,
O2
>
&
m2
)
const
bool
isE
qual
(
const
SE3Tpl
<
Scalar
,
O2
>
&
m2
)
const
{
return
(
rotation
()
==
m2
.
rotation
()
&&
translation
()
==
m2
.
translation
());
}
...
...
Write
Preview
Markdown
is supported
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