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
transform.h
Go to the documentation of this file.
1//
2// Copyright (c) 2024 INRIA
3//
4
5#ifndef COAL_SERIALIZATION_TRANSFORM_H
6#define COAL_SERIALIZATION_TRANSFORM_H
7
10
11namespace boost {
12namespace serialization {
13
14template <class Archive>
15void serialize(Archive& ar, coal::Transform3s& tf,
16 const unsigned int /*version*/) {
17 ar& make_nvp("R", tf.rotation());
18 ar& make_nvp("T", tf.translation());
19}
20
21} // namespace serialization
22} // namespace boost
23
24#endif // COAL_SERIALIZATION_TRANSFORM_H
Simple transform class used locally by InterpMotion.
Definition transform.h:55
const Matrix3s & rotation() const
get rotation
Definition transform.h:113
const Vec3s & translation() const
get translation
Definition transform.h:104
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
Definition AABB.h:15
Definition AABB.h:11