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
Humanoid Path Planner
hpp-fcl
Commits
515c48d3
Verified
Commit
515c48d3
authored
Mar 08, 2021
by
Justin Carpentier
Browse files
python: expose the two signatures for getContacts
parent
79e7f99c
Pipeline
#13373
passed with stage
in 54 minutes and 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
python/collision.cc
View file @
515c48d3
...
...
@@ -160,7 +160,10 @@ void exposeCollisionAPI ()
.
DEF_CLASS_FUNC
(
CollisionResult
,
addContact
)
.
DEF_CLASS_FUNC
(
CollisionResult
,
clear
)
.
DEF_CLASS_FUNC2
(
CollisionResult
,
getContact
,
return_value_policy
<
copy_const_reference
>
())
.
DEF_CLASS_FUNC2
(
CollisionResult
,
getContacts
,
return_internal_reference
<>
())
.
def
(
dv
::
member_func
(
"getContacts"
,
static_cast
<
void
(
CollisionResult
::*
)(
std
::
vector
<
Contact
>
&
)
const
>
(
&
CollisionResult
::
getContacts
)))
.
def
(
"getContacts"
,
static_cast
<
const
std
::
vector
<
Contact
>
&
(
CollisionResult
::*
)()
const
>
(
&
CollisionResult
::
getContacts
),
doxygen
::
member_func_doc
(
static_cast
<
const
std
::
vector
<
Contact
>
&
(
CollisionResult
::*
)()
const
>
(
&
CollisionResult
::
getContacts
)),
return_internal_reference
<>
())
.
DEF_RW_CLASS_ATTRIB
(
CollisionResult
,
distance_lower_bound
)
;
...
...
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