8 #ifndef IMPCORE_CLOSE_PAIRS_FINDER_H
9 #define IMPCORE_CLOSE_PAIRS_FINDER_H
11 #include <IMP/core/core_config.h>
16 #include <IMP/internal/container_helpers.h>
18 #include <cereal/access.hpp>
19 #include <cereal/types/base_class.hpp>
21 IMPCORE_BEGIN_NAMESPACE
24 class MovedSingletonContainer;
41 friend class cereal::access;
42 template<
class Archive>
void serialize(Archive &ar) {
43 ar(cereal::base_class<IMP::Object>(
this), distance_,
44 mutable_access_pair_filters());
71 virtual void set_distance(
double d) { distance_ = d; }
86 #if !defined(SWIG) && !defined(IMP_DOXYGEN)
88 virtual internal::MovedSingletonContainer *get_moved_singleton_container(
A base class for algorithms to find spatial proximities.
A container for Singletons.
Base class for objects that take particle arguments and read from them.
#define IMP_LIST(protection, Ucname, lcname, Data, PluralData)
A macro to provide a uniform interface for storing lists of objects.
Class for storing model, its restraints, constraints, and particles.
Common base class for heavy weight IMP objects.
Classes used in the construction of ModelObjects.
A shared container for Singletons.
Abstract predicate function.
A shared base class to help in debugging and things.
double get_distance(const Line3D &s, const Vector3D &p)
Get closest distance between a line and a point.