![]() |
Chemical Data Processing Library C++ API - Version 1.4.0
|
A single match of a ConfGen::TorsionRule against a rotatable bond: the rule, the bond and the four atoms that span the torsion. More...
#include <TorsionRuleMatch.hpp>
Public Member Functions | |
| TorsionRuleMatch (const TorsionRule &rule, const Chem::Bond &bond, const Chem::Atom *atom1, const Chem::Atom *atom2, const Chem::Atom *atom3, const Chem::Atom *atom4) | |
Constructs the TorsionRuleMatch instance. More... | |
| const Chem::Atom *const * | getAtoms () const |
| Returns the four torsion atoms (A, B, C, D). More... | |
| const TorsionRule & | getRule () const |
| Returns the matched torsion rule. More... | |
| const Chem::Bond & | getBond () const |
| Returns the rotatable bond at which the rule matched. More... | |
A single match of a ConfGen::TorsionRule against a rotatable bond: the rule, the bond and the four atoms that span the torsion.
| CDPL::ConfGen::TorsionRuleMatch::TorsionRuleMatch | ( | const TorsionRule & | rule, |
| const Chem::Bond & | bond, | ||
| const Chem::Atom * | atom1, | ||
| const Chem::Atom * | atom2, | ||
| const Chem::Atom * | atom3, | ||
| const Chem::Atom * | atom4 | ||
| ) |
Constructs the TorsionRuleMatch instance.
| rule | The matched torsion rule. |
| bond | The rotatable bond. |
| atom1 | The first torsion atom (A in A-B-C-D). |
| atom2 | The second torsion atom (B). |
| atom3 | The third torsion atom (C). |
| atom4 | The fourth torsion atom (D). |
| const Chem::Atom* const* CDPL::ConfGen::TorsionRuleMatch::getAtoms | ( | ) | const |
Returns the four torsion atoms (A, B, C, D).
const Chem::Atom* (A, B, C, D). | const TorsionRule& CDPL::ConfGen::TorsionRuleMatch::getRule | ( | ) | const |
Returns the matched torsion rule.
const reference to the rule. | const Chem::Bond& CDPL::ConfGen::TorsionRuleMatch::getBond | ( | ) | const |
Returns the rotatable bond at which the rule matched.
const reference to the bond.