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

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

OBB.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021 INRIA
3 //
4
5 #ifndef HPP_FCL_SERIALIZATION_OBB_H
6 #define HPP_FCL_SERIALIZATION_OBB_H
7
8 #include "hpp/fcl/BV/OBB.h"
9
10 #include "hpp/fcl/serialization/fwd.h"
11
12 namespace boost
13 {
14 namespace serialization
15 {
16
17 template <class Archive>
18 void serialize(Archive & ar,
19 hpp::fcl::OBB & bv,
20 const unsigned int /*version*/)
21 {
22 ar & make_nvp("axes",bv.axes);
23 ar & make_nvp("To",bv.To);
24 ar & make_nvp("extent",bv.extent);
25 }
26
27 }
28 }
29
30 #endif // ifndef HPP_FCL_SERIALIZATION_OBB_H
fwd.h
hpp::fcl::OBB::axes
Matrix3f axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
Definition: OBB.h:58
hpp::fcl::OBB::extent
Vec3f extent
Half dimensions of OBB.
Definition: OBB.h:64
hpp::fcl::OBB::To
Vec3f To
Center of OBB.
Definition: OBB.h:61
OBB.h
boost::serialization::serialize
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:17
boost
Definition: AABB.h:12
hpp::fcl::OBB
Oriented bounding box class.
Definition: OBB.h:55