GCC Code Coverage Report


Directory: ./
File: include/coal/serialization/AABB.h
Date: 2025-04-01 09:23:31
Exec Total Coverage
Lines: 4 4 100.0%
Branches: 2 4 50.0%

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