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
OBB.h
Go to the documentation of this file.
1//
2// Copyright (c) 2021 INRIA
3//
4
5#ifndef COAL_SERIALIZATION_OBB_H
6#define COAL_SERIALIZATION_OBB_H
7
8#include "coal/BV/OBB.h"
9
11
12namespace boost {
13namespace serialization {
14
15template <class Archive>
16void serialize(Archive& ar, coal::OBB& bv, const unsigned int /*version*/) {
17 ar& make_nvp("axes", bv.axes);
18 ar& make_nvp("To", bv.To);
19 ar& make_nvp("extent", bv.extent);
20}
21
22} // namespace serialization
23} // namespace boost
24
25#endif // ifndef COAL_SERIALIZATION_OBB_H
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
Definition AABB.h:15
Definition AABB.h:11
Oriented bounding box class.
Definition OBB.h:51
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Matrix3s axes
Orientation of OBB. axis[i] is the ith column of the orientation matrix for the box; it is also the i...
Definition OBB.h:59
Vec3s To
Center of OBB.
Definition OBB.h:62
Vec3s extent
Half dimensions of OBB.
Definition OBB.h:65