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
0abc3fef
Verified
Commit
0abc3fef
authored
Mar 30, 2020
by
Justin Carpentier
Browse files
python: add missing 'self'
parent
dd820c92
Changes
1
Hide whitespace changes
Inline
Side-by-side
bindings/python/multibody/geometry-model.hpp
View file @
0abc3fef
...
...
@@ -29,14 +29,14 @@ namespace pinocchio
void
visit
(
PyClass
&
cl
)
const
{
cl
.
def
(
bp
::
init
<>
(
"Default constructor"
))
.
def
(
bp
::
init
<>
(
bp
::
arg
(
"self"
),
"Default constructor"
))
.
add_property
(
"ngeoms"
,
&
GeometryModel
::
ngeoms
,
"Number of geometries contained in the Geometry Model."
)
.
add_property
(
"geometryObjects"
,
&
GeometryModel
::
geometryObjects
,
"Vector of geometries objects."
)
.
def
(
"addGeometryObject"
,
static_cast
<
GeometryModel
::
GeomIndex
(
GeometryModel
::*
)(
const
GeometryObject
&
)
>
(
&
GeometryModel
::
addGeometryObject
),
bp
::
arg
(
"geometry_object"
),
bp
::
arg
s
(
"self"
,
"geometry_object"
),
"Add a GeometryObject to a GeometryModel.
\n
"
"Parameters
\n
"
"
\t
geometry_object : a GeometryObject
\n
"
)
...
...
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