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

hpp-fcl 1.7.3 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
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::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
RSS.h
fwd.h
hpp::fcl::RSS::Tr
Vec3f Tr
Origin of the rectangle in RSS.
Definition: RSS.h:62
hpp::fcl::RSS::radius
FCL_REAL radius
Radius of sphere summed with rectangle to form RSS.
Definition: RSS.h:68
hpp::fcl::RSS::length
FCL_REAL length[2]
Side lengths of rectangle.
Definition: RSS.h:65
hpp::fcl::RSS::axes
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
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::RSS
A class for rectangle sphere-swept bounding volume.
Definition: RSS.h:56