.. include:: ../../toolkit-substitutions

.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEOverlayConfsByRMSD

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

      .. oe:api::

         bool OEOverlayConfsByRMSD(OEMCMolBase& mol,
                                   const unsigned maxTermHeavyAtoms = 25u)

   .. oe:language:: python

      .. oe:api:: python

         OEOverlayConfsByRMSD(mol: OEMol, maxTermHeavyAtoms: int = 25) -> bool

   This method overlays the all conformers of the molecule, onto the first conformer, such that the
   RSMD between the conformers are minimized. The automorphisms of the molecule graph is taken into
   consideration during the RMSD calculations.

   *mol*
      Molecule whose conformers are to be overlaid.

   *maxTermHeavyAtoms*
      Maximum number of terminal heavy atoms that should be considered in assessing automorphisms
      in the molecule graphs. If the number of terminal heavy atoms exceeds this limit, they are ignored
      for assessing automorphisms.
