.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OESet3DHydrogenGeom

.. oe:function:: OESet3DHydrogenGeom

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

      .. oe:api::

         bool OESet3DHydrogenGeom(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OESet3DHydrogenGeom(mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   Assigns approximate 3D coordinates to explicit hydrogen atoms of 
   the molecule. Only explicit hydrogen atoms with identical coordinates 
   to their parent heavy atoms are updated. 

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

      .. oe:api::

         bool OESet3DHydrogenGeom(OEMolBase& mol, const OEAtomBase* hatom)

   .. oe:language:: python

      .. oe:api:: python

         OESet3DHydrogenGeom(mol: Union[OEGraphMol,OEMol,OEQMol],
                             hatom: OEAtomBase) -> bool

   Assigns approximate 3D coordinates to the given hydrogen.

   .. seealso::

      * :oe:func:`OEChem::OESet2DHydrogenGeom` function
      * :oe:func:`OEChem::OEAddExplicitHydrogens` function
