.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OE3DToInternalStereo

.. oe:function:: OE3DToInternalStereo

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

      .. oe:api::

         bool OE3DToInternalStereo(OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

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

   Assigns the stereochemistry of molecule from its 3D coordinates.
   It perceives both the tetrahedral chirality around atomic centers,
   and the E/Z chirality around double bonds.  This function is
   equivalent to the sequence of calling
   :oe:func:`OEChem::OE3DToAtomStereo` and
   :oe:func:`OEChem::OE3DToBondStereo`. However
   :oe:func:`OEChem::OE3DToBondStereo` will not be called if
   :oe:func:`OEChem::OE3DToAtomStereo` returns ``false``.


