8#ifndef IMPALGEBRA_REFLECTION_3D_H
9#define IMPALGEBRA_REFLECTION_3D_H
11#include <IMP/algebra/algebra_config.h>
14#include <cereal/access.hpp>
16IMPALGEBRA_BEGIN_NAMESPACE
19class Reflection3D :
public GeometricPrimitiveD<3> {
22 friend class cereal::access;
24 template<
class Archive>
void serialize(Archive &ar) {
30 Reflection3D(
Plane3D pl) : pl_(pl) {}
34 return v + 2 * (p - v);
41IMPALGEBRA_END_NAMESPACE
Base class for geometric types.
Reflect about a plane in 3D.
IMP::Vector< Reflection3D > Reflection3Ds
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.