Constraint functor that tests whether a Pharm::Feature pair satisfies geometric H-bond criteria (H-bond length plus acceptor-H-donor and H-bond-direction-to-acceptor-vector angles).
More...
#include <HBondingInteractionConstraint.hpp>
Constraint functor that tests whether a Pharm::Feature pair satisfies geometric H-bond criteria (H-bond length plus acceptor-H-donor and H-bond-direction-to-acceptor-vector angles).
◆ HBondingInteractionConstraint()
Constructs a HBondingInteractionConstraint functor with the specified constraints.
- Parameters
-
| don_acc | true if the first feature argument represents the donor- and the second one the acceptor-feature, and false otherwise. |
| min_len | The minimum allowed length of the H-bond (distance between the hydrogen-atom and acceptor-feature). |
| max_len | The maximum allowed length of the H-bond (distance between the hydrogen-atom and acceptor-feature). |
| min_ahd_ang | The minimum allowed angle between the acceptor-feature, hydrogen-atom and donor-feature. |
| max_acc_ang | The maximum allowed angle between the H-bond direction and the acceptor-feature vector. |
◆ getMinLength()
| double CDPL::Pharm::HBondingInteractionConstraint::getMinLength |
( |
| ) |
const |
Returns the currently configured minimum H-bond length.
- Returns
- The minimum H-bond length.
◆ getMaxLength()
| double CDPL::Pharm::HBondingInteractionConstraint::getMaxLength |
( |
| ) |
const |
Returns the currently configured maximum H-bond length.
- Returns
- The maximum H-bond length.
◆ getMinAHDAngle()
| double CDPL::Pharm::HBondingInteractionConstraint::getMinAHDAngle |
( |
| ) |
const |
Returns the currently configured minimum acceptor-hydrogen-donor angle.
- Returns
- The minimum AHD angle in degrees.
◆ getMaxAcceptorAngle()
| double CDPL::Pharm::HBondingInteractionConstraint::getMaxAcceptorAngle |
( |
| ) |
const |
Returns the currently configured maximum H-bond direction to acceptor-vector angle.
- Returns
- The maximum acceptor angle in degrees.
◆ operator()()
| bool CDPL::Pharm::HBondingInteractionConstraint::operator() |
( |
const Feature & |
ftr1, |
|
|
const Feature & |
ftr2 |
|
) |
| const |
Tests whether ftr1 and ftr2 satisfy the geometric H-bond constraints.
- Parameters
-
| ftr1 | The first feature (donor or acceptor, depending on the constructor flag). |
| ftr2 | The second feature. |
- Returns
true if the H-bond constraints are satisfied, and false otherwise.
◆ DEF_MIN_HB_LENGTH
| constexpr double CDPL::Pharm::HBondingInteractionConstraint::DEF_MIN_HB_LENGTH = 1.2 |
|
staticconstexpr |
Default minimum H-bond length in Ångstrom.
◆ DEF_MAX_HB_LENGTH
| constexpr double CDPL::Pharm::HBondingInteractionConstraint::DEF_MAX_HB_LENGTH = 2.8 |
|
staticconstexpr |
Default maximum H-bond length in Ångstrom.
◆ DEF_MIN_AHD_ANGLE
| constexpr double CDPL::Pharm::HBondingInteractionConstraint::DEF_MIN_AHD_ANGLE = 130.0 |
|
staticconstexpr |
Default minimum acceptor-hydrogen-donor angle in degrees.
◆ DEF_MAX_ACC_ANGLE
| constexpr double CDPL::Pharm::HBondingInteractionConstraint::DEF_MAX_ACC_ANGLE = 85.0 |
|
staticconstexpr |
Default maximum H-bond direction to acceptor-vector angle in degrees.
The documentation for this class was generated from the following file: