XBondingInteractionConstraint.
More...
|
float | DEF_MIN_AX_DISTANCE = 1.6 |
|
float | DEF_MAX_AX_DISTANCE = 3.75 |
|
float | DEF_MIN_AXB_ANGLE = 135.0 |
|
float | DEF_MAX_ACC_ANGLE = 45.0 |
|
◆ __init__() [1/2]
Initializes a copy of the XBondingInteractionConstraint instance constr.
- Parameters
-
constr | The XBondingInteractionConstraint instance to copy. |
◆ __init__() [2/2]
None CDPL.Pharm.XBondingInteractionConstraint.__init__ |
( |
bool |
don_acc, |
|
|
float |
min_ax_dist = 1.6 , |
|
|
float |
max_ax_dist = 1.6 , |
|
|
float |
min_axb_ang = 135.0 , |
|
|
float |
max_acc_ang = 45.0 |
|
) |
| |
Constructs a XBondingInteractionConstraint
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_ax_dist | The minimum allowed distance between the halogen-atom and the acceptor-feature. |
max_ax_dist | The maximum allowed distance between the halogen-atom and the acceptor-feature. |
min_axb_ang | The minimum allowed angle between the vectors halogen->acceptor snd halogen->bound atom. |
max_acc_ang | The maximum allowed angle deviation from the acceptor's preferred X-bonding direction. |
◆ getObjectID()
int CDPL.Pharm.XBondingInteractionConstraint.getObjectID |
( |
| ) |
|
Returns the numeric identifier (ID) of the wrapped C++ class instance.
Different Python XBondingInteractionConstraint instances may reference the same underlying C++ class instance. The commonly used Python expression a is not b
thus cannot tell reliably whether the two XBondingInteractionConstraint instances a and b reference different C++ objects. The numeric identifier returned by this method allows to correctly implement such an identity test via the simple expression a.getObjectID() != b.getObjectID()
.
- Returns
- The numeric ID of the internally referenced C++ class instance.
◆ getMinAXDistance()
float CDPL.Pharm.XBondingInteractionConstraint.getMinAXDistance |
( |
| ) |
|
◆ getMaxAXDistance()
float CDPL.Pharm.XBondingInteractionConstraint.getMaxAXDistance |
( |
| ) |
|
◆ getMinAXBAngle()
float CDPL.Pharm.XBondingInteractionConstraint.getMinAXBAngle |
( |
| ) |
|
◆ getMaxAcceptorAngle()
float CDPL.Pharm.XBondingInteractionConstraint.getMaxAcceptorAngle |
( |
| ) |
|
◆ assign()
Replaces the current state of self with a copy of the state of the XBondingInteractionConstraint instance constr.
- Parameters
-
constr | The XBondingInteractionConstraint instance to copy. |
- Returns
- self
◆ __call__()
bool CDPL.Pharm.XBondingInteractionConstraint.__call__ |
( |
Feature |
ftr1, |
|
|
Feature |
ftr2 |
|
) |
| |