.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetAutomorphs

.. oe:function:: OEGetAutomorphs

   .. oe:language:: c++ java csharp

      .. oe:api::

         OESystem::OEIterBase<OEMatchBase>* OEGetAutomorphs(const OEMolBase& mol,
                                                            bool includeH = false)

   .. oe:language:: python

      .. oe:api:: python

         OEGetAutomorphs(arg1: Union[OEGraphMol,OEMol,OEQMol],
                         includeH: bool = False) -> Iterable[OEMatchBase]

   Returns an iterator over all the automorphisms, i.e. self matches of the 
   molecule.

   *includeH*
      This flag indicates whether explicit hydrogen atoms should be considered 
      when assessing automorphisms. Default is ``false``.

