/** * \file AngleTripletScore.h * \brief A Score on the angle between three particles. * * Copyright 2007-2010 IMP Inventors. All rights reserved. */ #ifndef IMPCORE_ANGLE_TRIPLET_SCORE_H #define IMPCORE_ANGLE_TRIPLET_SCORE_H #include "core_config.h" #include #include #include IMPCORE_BEGIN_NAMESPACE //! Apply a function to the angle between three particles. /** */ class IMPCOREEXPORT AngleTripletScore : public TripletScore { IMP::internal::OwnerPointer f_; public: //! Score the angle (in radians) using f AngleTripletScore(UnaryFunction *f); IMP_SIMPLE_TRIPLET_SCORE(AngleTripletScore); }; IMPCORE_END_NAMESPACE #endif /* IMPCORE_ANGLE_TRIPLET_SCORE_H */