29 #ifndef CDPL_PHARM_XBONDINGINTERACTIONCONSTRAINT_HPP
30 #define CDPL_PHARM_XBONDINGINTERACTIONCONSTRAINT_HPP
52 static constexpr
double DEF_MIN_AX_DISTANCE = 1.6;
54 static constexpr
double DEF_MAX_AX_DISTANCE = 3.75;
56 static constexpr
double DEF_MIN_AXB_ANGLE = 135.0;
58 static constexpr
double DEF_MAX_ACC_ANGLE = 45.0;
70 double min_axb_ang = DEF_MIN_AXB_ANGLE,
double max_acc_ang = DEF_MAX_ACC_ANGLE):
72 minAXDist(min_ax_dist), maxAXDist(max_ax_dist), minAXBAngle(min_axb_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 halogen-bond donor/acceptor feature pair satisfies the geomet...
Definition: XBondingInteractionConstraint.hpp:48
XBondingInteractionConstraint(bool don_acc, double min_ax_dist=DEF_MIN_AX_DISTANCE, double max_ax_dist=DEF_MAX_AX_DISTANCE, double min_axb_ang=DEF_MIN_AXB_ANGLE, double max_acc_ang=DEF_MAX_ACC_ANGLE)
Constructs a XBondingInteractionConstraint functor with the specified constraints.
Definition: XBondingInteractionConstraint.hpp:69
bool operator()(const Feature &ftr1, const Feature &ftr2) const
Tests whether ftr1 and ftr2 satisfy the geometric halogen-bond criteria.
double getMinAXBAngle() const
Returns the currently configured minimum acceptor-halogen-bound-atom angle.
double getMaxAcceptorAngle() const
Returns the currently configured maximum deviation from the acceptor's preferred X-bonding direction.
double getMinAXDistance() const
Returns the currently configured minimum halogen-acceptor distance.
double getMaxAXDistance() const
Returns the currently configured maximum halogen-acceptor distance.
The namespace of the Chemical Data Processing Library.