Directory: | ./ |
---|---|
File: | bindings/python/module.cpp |
Date: | 2025-03-10 16:17:01 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 5 | 5 | 100.0% |
Branches: | 2 | 4 | 50.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // Copyright (c) 2015-2018, CNRS | ||
2 | // Authors: Justin Carpentier <jcarpent@laas.fr> | ||
3 | |||
4 | #include <boost/python.hpp> | ||
5 | #include <eigenpy/eigenpy.hpp> | ||
6 | |||
7 | #include "multicontact-api/bindings/python/geometry/expose-geometry.hpp" | ||
8 | #include "multicontact-api/bindings/python/scenario/expose-scenario.hpp" | ||
9 | |||
10 | namespace bp = boost::python; | ||
11 | |||
12 |
2/4✓ Branch 0 taken 3 times.
✗ Branch 1 not taken.
✓ Branch 3 taken 3 times.
✗ Branch 4 not taken.
|
12 | BOOST_PYTHON_MODULE(libmulticontact_api) { |
13 | 6 | eigenpy::enableEigenPy(); | |
14 | |||
15 | using namespace multicontact_api::python; | ||
16 | 6 | exposeGeometry(); | |
17 | 6 | exposeScenario(); | |
18 | 6 | } | |
19 |