.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetDisplayCoords

.. _OEDepict_OEGetDisplayCoords:


.. oe:function:: OEGetDisplayCoords


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

      .. oe:api::

         OE2DPoint OEGetDisplayCoords(const OE2DMolDisplay& disp,
                                      const OE2DPoint& p)

   .. oe:language:: python

      .. oe:api:: python

         OEGetDisplayCoords(disp: OE2DMolDisplay, p: OE2DPoint) -> OE2DPoint

   Converts a 2D point from the "molecule" 2D coordinate system" to "display"
   2D coordinate system.

   This is the reverse operation from :oe:func:`OEDepict::OEGetDisplayCoords`.

   .. seealso::

      * :oe:func:`OEDepict::OEGetMoleculeCoords` function
