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-fcl
Commits
a62df978
Unverified
Commit
a62df978
authored
Jul 30, 2021
by
Justin Carpentier
Committed by
GitHub
Jul 30, 2021
Browse files
Merge pull request #236 from jcarpent/devel
Extend Python bindings
parents
7ecce30e
53e2c94a
Pipeline
#15412
failed with stage
in 34 minutes and 38 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cmake
@
0adbf010
Compare
09483408
...
0adbf010
Subproject commit 0
94834088ad9de32f1abdc2d56d29bca2190772c
Subproject commit 0
adbf0109cf2cb4b19db9b71cce37131c17b1597
python/collision-geometries.cc
View file @
a62df978
...
...
@@ -508,9 +508,10 @@ void exposeCollisionObject ()
.
def
(
dv
::
init
<
CollisionObject
,
const
CollisionGeometryPtr_t
&
,
const
Transform3f
&>
())
.
def
(
dv
::
init
<
CollisionObject
,
const
CollisionGeometryPtr_t
&
,
const
Matrix3f
&
,
const
Vec3f
&>
())
.
def
(
"getObjectType"
,
&
CollisionObject
::
getObjectType
)
.
def
(
"getNodeType"
,
&
CollisionObject
::
getNodeType
)
.
def
(
"computeAABB"
,
&
CollisionObject
::
computeAABB
)
.
DEF_CLASS_FUNC
(
CollisionObject
,
getObjectType
)
.
DEF_CLASS_FUNC
(
CollisionObject
,
getNodeType
)
.
DEF_CLASS_FUNC
(
CollisionObject
,
computeAABB
)
.
DEF_CLASS_FUNC2
(
CollisionObject
,
getAABB
,
bp
::
return_value_policy
<
bp
::
copy_const_reference
>
())
.
DEF_CLASS_FUNC2
(
CollisionObject
,
getTranslation
,
bp
::
return_value_policy
<
bp
::
copy_const_reference
>
())
.
DEF_CLASS_FUNC
(
CollisionObject
,
setTranslation
)
...
...
@@ -523,9 +524,9 @@ void exposeCollisionObject ()
.
DEF_CLASS_FUNC
(
CollisionObject
,
isIdentityTransform
)
.
DEF_CLASS_FUNC
(
CollisionObject
,
setIdentityTransform
)
.
def
(
"collisionGeometry"
,
.
def
(
dv
::
member_func
(
"collisionGeometry"
,
static_cast
<
const
CollisionGeometryPtr_t
&
(
CollisionObject
::*
)
()
>
(
&
CollisionObject
::
collisionGeometry
),
bp
::
return_value_policy
<
bp
::
copy_const_reference
>
())
bp
::
return_value_policy
<
bp
::
copy_const_reference
>
())
)
;
}
}
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