@@ -42,26 +42,31 @@ namespace python {
42
42
void BoxedLcpConstraintSolver (py::module& m)
43
43
{
44
44
::py::class_<
45
- dart:: constraint::BoxedLcpConstraintSolver,
46
- dart:: constraint::ConstraintSolver,
47
- std::shared_ptr<dart:: constraint::BoxedLcpConstraintSolver>>(
45
+ constraint::BoxedLcpConstraintSolver,
46
+ constraint::ConstraintSolver,
47
+ std::shared_ptr<constraint::BoxedLcpConstraintSolver>>(
48
48
m, " BoxedLcpConstraintSolver" )
49
- .def (::py::init<double >(), :: py::arg ( " timeStep " ))
49
+ .def (::py::init<>( ))
50
50
.def (
51
- ::py::init<double , dart::constraint::BoxedLcpSolverPtr>(),
52
- ::py::arg (" timeStep" ),
51
+ ::py::init<constraint::BoxedLcpSolverPtr>(),
53
52
::py::arg (" boxedLcpSolver" ))
53
+ .def(
54
+ ::py::init<
55
+ constraint::BoxedLcpSolverPtr,
56
+ constraint::BoxedLcpSolverPtr>(),
57
+ ::py::arg(" boxedLcpSolver" ),
58
+ ::py::arg(" secondaryBoxedLcpSolver" ))
54
59
.def(
55
60
" setBoxedLcpSolver" ,
56
- +[](dart:: constraint::BoxedLcpConstraintSolver* self,
57
- dart:: constraint::BoxedLcpSolverPtr lcpSolver) {
61
+ +[](constraint::BoxedLcpConstraintSolver* self,
62
+ constraint::BoxedLcpSolverPtr lcpSolver) {
58
63
self->setBoxedLcpSolver (lcpSolver);
59
64
},
60
65
::py::arg (" lcpSolver" ))
61
66
.def(
62
67
" getBoxedLcpSolver" ,
63
- +[](const dart:: constraint::BoxedLcpConstraintSolver* self)
64
- -> dart:: constraint::ConstBoxedLcpSolverPtr {
68
+ +[](const constraint::BoxedLcpConstraintSolver* self)
69
+ -> constraint::ConstBoxedLcpSolverPtr {
65
70
return self->getBoxedLcpSolver ();
66
71
});
67
72
}
0 commit comments