hpp-fcl  1.7.4
HPP fork of FCL -- The Flexible Collision Library
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 {
14  namespace serialization
15  {
16 
17  template <class Archive>
18  void serialize(Archive & ar,
19  hpp::fcl::RSS & bv,
20  const unsigned int /*version*/)
21  {
22  ar & make_nvp("axes",bv.axes);
23  ar & make_nvp("Tr",bv.Tr);
24  ar & make_nvp("length",make_array(bv.length,2));
25  ar & make_nvp("radius",bv.radius);
26  }
27 
28  }
29 }
30 
31 #endif // ifndef HPP_FCL_SERIALIZATION_RSS_H
Definition: AABB.h:11
Matrix3f axes
Orientation of RSS. axis[i] is the ith column of the orientation matrix for the RSS; it is also the i...
Definition: RSS.h:59
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: AABB.h:17
Vec3f Tr
Origin of the rectangle in RSS.
Definition: RSS.h:62
A class for rectangle sphere-swept bounding volume.
Definition: RSS.h:55
FCL_REAL radius
Radius of sphere summed with rectangle to form RSS.
Definition: RSS.h:68
FCL_REAL length[2]
Side lengths of rectangle.
Definition: RSS.h:65