coal
3.0.1
Coal, The Collision Detection Library. Previously known as HPP-FCL, fork of FCL -- The Flexible Collision Library
quadrilateral.h
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022 INRIA
3
//
4
5
#ifndef COAL_SERIALIZATION_QUADRILATERAL_H
6
#define COAL_SERIALIZATION_QUADRILATERAL_H
7
8
#include "
coal/data_types.h
"
9
#include "
coal/serialization/fwd.h
"
10
11
namespace
boost
{
12
namespace
serialization {
13
14
template
<
class
Archive>
15
void
serialize
(Archive &ar,
coal::Quadrilateral
&quadrilateral,
16
const
unsigned
int
/*version*/
) {
17
ar &make_nvp(
"p0"
, quadrilateral[0]);
18
ar &make_nvp(
"p1"
, quadrilateral[1]);
19
ar &make_nvp(
"p2"
, quadrilateral[2]);
20
ar &make_nvp(
"p3"
, quadrilateral[3]);
21
}
22
23
}
// namespace serialization
24
}
// namespace boost
25
26
#endif
// ifndef COAL_SERIALIZATION_QUADRILATERAL_H
data_types.h
fwd.h
boost::serialization::serialize
void serialize(Archive &ar, coal::AABB &aabb, const unsigned int)
Definition:
AABB.h:15
boost
Definition:
AABB.h:11
coal::Quadrilateral
Quadrilateral with 4 indices for points.
Definition:
data_types.h:167
include
coal
serialization
quadrilateral.h
Generated by
1.9.1