serialization/RSS.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021 INRIA
3 //
4 
5 #ifndef HPP_FCL_SERIALIZATION_RSS_H
6 #define HPP_FCL_SERIALIZATION_RSS_H
7 
8 #include "hpp/fcl/BV/RSS.h"
9 
11 
12 namespace boost {
13 namespace serialization {
14 
15 template <class Archive>
16 void serialize(Archive& ar, hpp::fcl::RSS& bv, const unsigned int /*version*/) {
17  ar& make_nvp("axes", bv.axes);
18  ar& make_nvp("Tr", bv.Tr);
19  ar& make_nvp("length", make_array(bv.length, 2));
20  ar& make_nvp("radius", bv.radius);
21 }
22 
23 } // namespace serialization
24 } // namespace boost
25 
26 #endif // ifndef HPP_FCL_SERIALIZATION_RSS_H
Matrix3f axes
Orientation of RSS. axis[i] is the ith column of the orientation matrix for the RSS; it is also the i...
Definition: BV/RSS.h:59
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Vec3f Tr
Origin of the rectangle in RSS.
Definition: BV/RSS.h:62
A class for rectangle sphere-swept bounding volume.
Definition: BV/RSS.h:53
FCL_REAL radius
Radius of sphere summed with rectangle to form RSS.
Definition: BV/RSS.h:68
FCL_REAL length[2]
Side lengths of rectangle.
Definition: BV/RSS.h:65


hpp-fcl
Author(s):
autogenerated on Fri Jun 2 2023 02:39:02