Skip to content

Commit

Permalink
apib11: update
Browse files Browse the repository at this point in the history
  • Loading branch information
jmmuller committed Apr 18, 2024
1 parent b4196b9 commit eebaf48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MMVII/apib11/py_MMVII_Geom3D.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ void pyb_init_cIsometry3D_tpl(py::module_ &m, const std::string& name)
.def(py::self * py::self)
.def_static("identity",&tI3D::Identity,DOC(MMVII_cIsometry3D,Identity))

.def_property("rot",&tI3D::Rot,[](tI3D& i, const tR3D& r){ i.SetRotation(r);})
.def_property("rot",py::overload_cast<>(&tI3D::Rot),[](tI3D& i, const tR3D& r){ i.SetRotation(r);})
.def_property("tr",py::overload_cast<>(&tI3D::Tr, py::const_),[](tI3D& i, const tPt& p){ i.Tr() = p;})

.def("value",&tI3D::Value,"pt3d"_a,DOC(MMVII_cIsometry3D,Value))
Expand Down

0 comments on commit eebaf48

Please sign in to comment.