.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetAnisou

.. oe:function:: OEGetAnisou

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

      .. oe:api::

         bool OEGetAnisou(OEAnisoUij& uij, const OEAtomBase* atom)
         bool OEGetAnisou(const OEAtomBase* atom, int& u11, int& u22, int& u33,
                          int& u12, int& u13, int& u23)

   .. oe:language:: python

      .. oe:api:: python

         OEGetAnisou(uij: OEAnisoUij, atom: OEAtomBase) -> bool
         OEGetAnisou(atom: OEAtomBase, u11: int, u22: int, u33: int, u12: int,
                     u13: int, u23: int) -> bool

   This function is used to return anisotropic B-factor parameters associated
   with an :ref:`OEAtomBase <OEChem_OEAtomBase>` from a PDB file read with the flavor
   :oe:const:`OEChem::OEIFlavor::PDB::DATA`.

   If the atom does not have associated anisotropic B-factor parameters,
   returns ``false`` and sets all the parameter values to 0. The predicate
   :ref:`OEHasAnisou <OEChem_OEHasAnisou>` can be used to check for parameters.

   The form that uses a :ref:`OEAnisoUij <OEChem_OEAnisoUij>` returns the data in
   packaged form for convenience in wrapped languages.

   .. seealso::

      * :ref:`OEAnisoUij <OEChem_OEAnisoUij>`
      * :ref:`OEHasAnisou <OEChem_OEHasAnisou>`
      * :oe:func:`OEChem::OESetAnisou`
