.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEReadXYZFile

.. oe:function:: OEReadXYZFile

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

      .. oe:api::

         bool OEReadXYZFile(oemolistream& ifs, OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEReadXYZFile(ifs: oemolistream, mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool


   Reads the contents of the XMol XYZ format file into the specified
   :ref:`OEMolBase <OEChem_OEMolBase>`.

