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