Directory: | ./ |
---|---|
File: | bindings/python/spatial/expose-symmetric3.cpp |
Date: | 2025-02-12 21:03:38 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 5 | 5 | 100.0% |
Branches: | 3 | 6 | 50.0% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // | ||
2 | // Copyright (c) 2022 INRIA | ||
3 | // | ||
4 | |||
5 | #include "pinocchio/serialization/aligned-vector.hpp" | ||
6 | #include "pinocchio/serialization/symmetric3.hpp" | ||
7 | |||
8 | #include "pinocchio/bindings/python/fwd.hpp" | ||
9 | #include "pinocchio/bindings/python/spatial/symmetric3.hpp" | ||
10 | #include "pinocchio/bindings/python/serialization/serialization.hpp" | ||
11 | #include "pinocchio/bindings/python/utils/std-aligned-vector.hpp" | ||
12 | |||
13 | namespace pinocchio | ||
14 | { | ||
15 | namespace python | ||
16 | { | ||
17 | |||
18 | 69 | void exposeSymmetric3() | |
19 | { | ||
20 | 69 | Symmetric3PythonVisitor<context::Symmetric3>::expose(); | |
21 |
3/6✓ Branch 2 taken 69 times.
✗ Branch 3 not taken.
✓ Branch 6 taken 69 times.
✗ Branch 7 not taken.
✓ Branch 9 taken 69 times.
✗ Branch 10 not taken.
|
69 | StdAlignedVectorPythonVisitor<context::Symmetric3>::expose("StdVec_Symmetric3"); |
22 | #ifndef PINOCCHIO_PYTHON_NO_SERIALIZATION | ||
23 | 65 | serialize<StdAlignedVectorPythonVisitor<context::Symmetric3>::vector_type>(); | |
24 | #endif // ifndef PINOCCHIO_PYTHON_NO_SERIALIZATION | ||
25 | 69 | } | |
26 | |||
27 | } // namespace python | ||
28 | } // namespace pinocchio | ||
29 |