hpp-fcl 2.2.0
HPP fork of FCL -- The Flexible Collision Library
Loading...
Searching...
No Matches
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
12namespace boost {
13namespace serialization {
14
15template <class Archive>
16void 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
Vec3f Tr
Origin of the rectangle in RSS.
Definition: RSS.h:62
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
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:15
Definition: AABB.h:11
A class for rectangle sphere-swept bounding volume.
Definition: RSS.h:53