triangle.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2021-2022 INRIA
3 //
4 
5 #ifndef HPP_FCL_SERIALIZATION_TRIANGLE_H
6 #define HPP_FCL_SERIALIZATION_TRIANGLE_H
7 
8 #include "hpp/fcl/data_types.h"
10 
11 namespace boost {
12 namespace serialization {
13 
14 template <class Archive>
15 void serialize(Archive &ar, hpp::fcl::Triangle &triangle,
16  const unsigned int /*version*/) {
17  ar &make_nvp("p0", triangle[0]);
18  ar &make_nvp("p1", triangle[1]);
19  ar &make_nvp("p2", triangle[2]);
20 }
21 
22 } // namespace serialization
23 } // namespace boost
24 
25 #endif // ifndef HPP_FCL_SERIALIZATION_TRIANGLE_H
data_types.h
fwd.h
boost
boost::serialization::serialize
void serialize(Archive &ar, hpp::fcl::AABB &aabb, const unsigned int)
Definition: serialization/AABB.h:15
hpp::fcl::Triangle
Triangle with 3 indices for points.
Definition: data_types.h:96


hpp-fcl
Author(s):
autogenerated on Fri Jan 26 2024 03:46:15