GCC Code Coverage Report


Directory: ./
File: include/coal/serialization/OBB.h
Date: 2025-04-01 09:23:31
Exec Total Coverage
Lines: 5 5 100.0%
Branches: 3 6 50.0%

Line Branch Exec Source
1 //
2 // Copyright (c) 2021 INRIA
3 //
4
5 #ifndef COAL_SERIALIZATION_OBB_H
6 #define COAL_SERIALIZATION_OBB_H
7
8 #include "coal/BV/OBB.h"
9
10 #include "coal/serialization/fwd.h"
11
12 namespace boost {
13 namespace serialization {
14
15 template <class Archive>
16 1418436 void serialize(Archive& ar, coal::OBB& bv, const unsigned int /*version*/) {
17
1/2
✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
1418436 ar& make_nvp("axes", bv.axes);
18
1/2
✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
1418436 ar& make_nvp("To", bv.To);
19
1/2
✓ Branch 2 taken 709218 times.
✗ Branch 3 not taken.
1418436 ar& make_nvp("extent", bv.extent);
20 1418436 }
21
22 } // namespace serialization
23 } // namespace boost
24
25 #endif // ifndef COAL_SERIALIZATION_OBB_H
26