Changes in src/Bond/bond.cpp [e23fec:5aaa43]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Bond/bond.cpp
re23fec r5aaa43 125 125 * \return true if it is either bond::leftatom or bond::rightatom, false otherwise 126 126 */ 127 bool bond::Contains Nr(const int number) const127 bool bond::Contains(const int number) const 128 128 { 129 129 return ((leftatom->getNr() == number) || (rightatom->getNr() == number)); 130 };131 132 /** Checks if an atom exists in a bond.133 * \param Nr index of atom134 * \return true if it is either bond::leftatom or bond::rightatom, false otherwise135 */136 bool bond::ContainsId(const atomId_t number) const137 {138 return ((leftatom->getId() == number) || (rightatom->getId() == number));139 130 }; 140 131
Note:
See TracChangeset
for help on using the changeset viewer.