include/hpp/fcl/serialization/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 
11 
12 namespace boost {
13 namespace serialization {
14 
15 template <class Archive>
16 void serialize(Archive& ar, hpp::fcl::OBB& bv, const unsigned int /*version*/) {
17  ar& make_nvp("axes", bv.axes);
18  ar& make_nvp("To", bv.To);
19  ar& make_nvp("extent", bv.extent);
20 }
21 
22 } // namespace serialization
23 } // namespace boost
24 
25 #endif // ifndef HPP_FCL_SERIALIZATION_OBB_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: include/hpp/fcl/BV/OBB.h:58
hpp::fcl::OBB::extent
Vec3f extent
Half dimensions of OBB.
Definition: include/hpp/fcl/BV/OBB.h:64
OBB.h
fwd.h
boost
hpp::fcl::OBB
Oriented bounding box class.
Definition: include/hpp/fcl/BV/OBB.h:52
hpp::fcl::OBB::To
Vec3f To
Center of OBB.
Definition: include/hpp/fcl/BV/OBB.h:61
boost::serialization::serialize
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: serialization/AABB.h:15


hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:14