coal 3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, 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 COAL_SERIALIZATION_RSS_H
6#define COAL_SERIALIZATION_RSS_H
7
8#include "coal/BV/RSS.h"
9
11
12namespace boost {
13namespace serialization {
14
15template <class Archive>
16void serialize(Archive& ar, coal::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 COAL_SERIALIZATION_RSS_H
void serialize(Archive &ar, coal::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
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Matrix3s 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:61
Scalar radius
Radius of sphere summed with rectangle to form RSS.
Definition RSS.h:70
Vec3s Tr
Origin of the rectangle in RSS.
Definition RSS.h:64
Scalar length[2]
Side lengths of rectangle.
Definition RSS.h:67