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
Stack Of Tasks
eigenpy
Commits
56179677
Verified
Commit
56179677
authored
Dec 28, 2020
by
Justin Carpentier
Browse files
geometry: move overload to visitor
parent
ec232e76
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/eigenpy/angle-axis.hpp
View file @
56179677
...
...
@@ -34,8 +34,6 @@ namespace eigenpy
}
};
BOOST_PYTHON_FUNCTION_OVERLOADS
(
isApproxAngleAxis_overload
,
call
<
Eigen
::
AngleAxisd
>::
isApprox
,
2
,
3
)
template
<
typename
AngleAxis
>
class
AngleAxisVisitor
:
public
bp
::
def_visitor
<
AngleAxisVisitor
<
AngleAxis
>
>
...
...
@@ -48,6 +46,8 @@ namespace eigenpy
typedef
typename
Eigen
::
Quaternion
<
Scalar
,
0
>
Quaternion
;
typedef
Eigen
::
RotationBase
<
AngleAxis
,
3
>
RotationBase
;
BOOST_PYTHON_FUNCTION_OVERLOADS
(
isApproxAngleAxis_overload
,
call
<
AngleAxis
>::
isApprox
,
2
,
3
)
public:
template
<
class
PyClass
>
...
...
include/eigenpy/quaternion.hpp
View file @
56179677
...
...
@@ -88,8 +88,6 @@ namespace eigenpy
}
};
BOOST_PYTHON_FUNCTION_OVERLOADS
(
isApproxQuaternion_overload
,
call
<
Eigen
::
Quaterniond
>::
isApprox
,
2
,
3
)
template
<
typename
Quaternion
>
class
QuaternionVisitor
:
public
bp
::
def_visitor
<
QuaternionVisitor
<
Quaternion
>
>
...
...
@@ -103,6 +101,8 @@ namespace eigenpy
typedef
typename
QuaternionBase
::
Matrix3
Matrix3
;
typedef
typename
QuaternionBase
::
AngleAxisType
AngleAxis
;
BOOST_PYTHON_FUNCTION_OVERLOADS
(
isApproxQuaternion_overload
,
call
<
Quaternion
>::
isApprox
,
2
,
3
)
public:
...
...
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