8 #ifndef IMPALGEBRA_REFLECTION_3D_H
9 #define IMPALGEBRA_REFLECTION_3D_H
11 #include <IMP/algebra/algebra_config.h>
14 #include <cereal/access.hpp>
16 IMPALGEBRA_BEGIN_NAMESPACE
22 friend class cereal::access;
24 template<
class Archive>
void serialize(Archive &ar) {
34 return v + 2 * (p - v);
41 IMPALGEBRA_END_NAMESPACE
Base class for geometric types.
#define IMP_SHOWABLE_INLINE(Name, how_to_show)
Declare the methods needed by an object that can be printed.
Vector3D get_reflected(const Plane3D &pln, const Vector3D &p)
Return the point reflected about the plane.
A more IMP-like version of the std::vector.
#define IMP_VALUES(Name, PluralName)
Define the type for storing sets of values.
Base class for geometric types.
Reflect about a plane in 3D.