include/coal/serialization/OBB.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021 INRIA
3 //
4 
5 #ifndef COAL_SERIALIZATION_OBB_H
6 #define COAL_SERIALIZATION_OBB_H
7 
8 #include "coal/BV/OBB.h"
9 
10 #include "coal/serialization/fwd.h"
11 
12 namespace boost {
13 namespace serialization {
14 
15 template <class Archive>
16 void serialize(Archive& ar, coal::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 COAL_SERIALIZATION_OBB_H
fwd.h
boost::serialization::serialize
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
Definition: coal/serialization/AABB.h:15
coal::OBB::extent
Vec3s extent
Half dimensions of OBB.
Definition: include/coal/BV/OBB.h:65
OBB.h
coal::OBB::axes
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Matrix3s axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
Definition: include/coal/BV/OBB.h:59
coal::OBB::To
Vec3s To
Center of OBB.
Definition: include/coal/BV/OBB.h:62
boost
coal::OBB
Oriented bounding box class.
Definition: include/coal/BV/OBB.h:51


hpp-fcl
Author(s):
autogenerated on Sat Nov 23 2024 03:44:58