Verified Commit 553676d2 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Justin Carpentier
Browse files

[Python] Bind copy constructor of GeometryObject

parent 00a10361
......@@ -40,6 +40,11 @@ namespace pinocchio
"placement", "mesh_path", "mesh_scale", "override_material", "mesh_color", "mesh_texture_path"),
"Reduced constructor of a GeometryObject. This constructor does not require to specify the parent frame index."
))
.def(bp::init<const GeometryObject&>
(
bp::args("self","otherGeometryObject"),
"Copy constructor"
))
.add_property("meshScale",
bp::make_getter(&GeometryObject::meshScale,
bp::return_value_policy<bp::return_by_value>()),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment