29 #ifndef CDPL_PHARM_HBONDINGINTERACTIONCONSTRAINT_HPP
30 #define CDPL_PHARM_HBONDINGINTERACTIONCONSTRAINT_HPP
52 static constexpr
double DEF_MIN_HB_LENGTH = 1.2;
54 static constexpr
double DEF_MAX_HB_LENGTH = 2.8;
56 static constexpr
double DEF_MIN_AHD_ANGLE = 130.0;
58 static constexpr
double DEF_MAX_ACC_ANGLE = 85.0;
70 double min_ahd_ang = DEF_MIN_AHD_ANGLE,
double max_acc_ang = DEF_MAX_ACC_ANGLE):
72 minLength(min_len), maxLength(max_len), minAHDAngle(min_ahd_ang), maxAccAngle(max_acc_ang) {}
Definition of the preprocessor macro CDPL_PHARM_API.
#define CDPL_PHARM_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Abstract base class representing a single pharmacophore feature within a parent Pharm::Pharmacophore.
Definition: Feature.hpp:48
Constraint functor that tests whether a Pharm::Feature pair satisfies geometric H-bond criteria (H-bo...
Definition: HBondingInteractionConstraint.hpp:48
double getMaxLength() const
Returns the currently configured maximum H-bond length.
HBondingInteractionConstraint(bool don_acc, double min_len=DEF_MIN_HB_LENGTH, double max_len=DEF_MAX_HB_LENGTH, double min_ahd_ang=DEF_MIN_AHD_ANGLE, double max_acc_ang=DEF_MAX_ACC_ANGLE)
Constructs a HBondingInteractionConstraint functor with the specified constraints.
Definition: HBondingInteractionConstraint.hpp:69
double getMinAHDAngle() const
Returns the currently configured minimum acceptor-hydrogen-donor angle.
bool operator()(const Feature &ftr1, const Feature &ftr2) const
Tests whether ftr1 and ftr2 satisfy the geometric H-bond constraints.
double getMaxAcceptorAngle() const
Returns the currently configured maximum H-bond direction to acceptor-vector angle.
double getMinLength() const
Returns the currently configured minimum H-bond length.
The namespace of the Chemical Data Processing Library.