.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetStyle

.. oe:function:: OEGetStyle

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

      .. oe:api::

         OE3DMolStyle OEGetStyle(const OEChem::OEMolBase& mol)
         OE3DMolStyle OEGetStyle(const OEChem::OEAtomBase& atom)
         OE3DMolStyle OEGetStyle(const OEChem::OEAtomBase& atom,
                                 const OE3DMolStyle& dflt)
         OE3DMolStyle OEGetStyle(const OEChem::OEAtomBase& atom,
                                 const OEChem::OEConfBase& c)

   .. oe:language:: python

      .. oe:api:: python

         OEGetStyle(mol: Union[OEGraphMol,OEMol,OEQMol]) -> OE3DMolStyle
         OEGetStyle(atom: OEAtomBase) -> OE3DMolStyle
         OEGetStyle(atom: OEAtomBase, dflt: OE3DMolStyle) -> OE3DMolStyle
         OEGetStyle(atom: OEAtomBase, c: OEConfBase) -> OE3DMolStyle

   Returns the :ref:`OE3DMolStyle <OEChem_OE3DMolStyle>` accociated with the molecule or atom 
   specified. There are two various of this function that utilize 
   :ref:`OEAtomBase <OEChem_OEAtomBase>` and either a :ref:`OE3DMolStyle <OEChem_OE3DMolStyle>` or 
   :ref:`OEConfBase <OEChem_OEConfBase>`. Both of these function are used to incorporate a conformer to 
   influence the :ref:`OE3DMolStyle <OEChem_OE3DMolStyle>` returned.
