Avogadro::Core::RingPerceiver#

class RingPerceiver#

Public Functions

explicit RingPerceiver(const Molecule *m = nullptr)#
~RingPerceiver() = default#
void setMolecule(const Molecule *m)#
const Molecule *molecule() const#
std::vector<std::vector<size_t>> &rings()#

The smallest set of smallest rings, each as a list of atom indices in the order they are traversed. A ring is not defined below three atoms, so every entry holds at least three and the bond closing it joins the last atom back to the first.