hpp-fcl: include/hpp/fcl/serialization/AABB.h Source File

hpp-fcl 1.7.2 HPP fork of FCL -- The Flexible Collision Library

AABB.h
Go to the documentation of this file.
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 {
13 namespace serialization
14 {
15
16 template <class Archive>
17 void serialize(Archive & ar,
18 hpp::fcl::AABB & aabb,
19 const unsigned int /*version*/)
20 {
21 ar & make_nvp("min_",aabb.min_);
22 ar & make_nvp("max_",aabb.max_);
23 }
24
25 }
26 }
27
28 #endif // ifndef HPP_FCL_SERIALIZATION_AABB_H
AABB.h
hpp::fcl::AABB
A class describing the AABB collision structure, which is a box in 3D space determined by two diagona...
Definition: AABB.h:56
fwd.h
hpp::fcl::AABB::max_
Vec3f max_
The max point in the AABB.
Definition: AABB.h:62
hpp::fcl::AABB::min_
Vec3f min_
The min point in the AABB.
Definition: AABB.h:60
boost::serialization::serialize
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:17
boost
Definition: AABB.h:12