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

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEAssignZap9Radii

.. oe:function:: OEAssignZap9Radii

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

      .. oe:api::

         void OEAssignZap9Radii(OEMolBase& mol,
                                unsigned int version = OEZap9Version::Default)

   .. oe:language:: python

      .. oe:api:: python

         OEAssignZap9Radii(mol: Union[OEGraphMol,OEMol,OEQMol], version: int) -> None

   Assigns radii to all atoms in the given :ref:`OEMolBase <OEChem_OEMolBase>`
   using atomic radii defined initially in [Nicholls-2008]_.  These
   radii include minor atom-typing for oxygen and nitrogen and are not
   a simple atomic number mapping. In the later paper [Nicholls-2010]_
   the same modification of radii for some types of doubly bonded
   oxygen to P,S, and N has been introduced, and is now made a default
   set of Zap9 radii. These radii are suitable for use in calculating
   transfer energies when used with a surface-area coefficient of
   6.3cal per square |A|.  The assigned radii of an
   :ref:`OEAtomBase <OEChem_OEAtomBase>` can be accessed by the
   :oe:meth:`OEChem::OEAtomBase::GetRadius` method.

   .. seealso::

      * :oe:constns:`OEChem::OEZap9Version`
      * :ref:`section_periodictable_atomradius` section

