.. include:: ../substitutions

.. oe:namespace:: OEDepict

.. meta::
   :keywords: OEGetCenter

.. _OEDepict_OEGetCenter:


.. oe:function:: OEGetCenter


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

      .. oe:api::

         OE2DPoint OEGetCenter(const OEImageBase& image)

   .. oe:language:: python

      .. oe:api:: python

         OEGetCenter(image: OEImageBase) -> OE2DPoint

   Returns the center of the image.

   .. seealso::

      * :ref:`OE2DPoint <OEDepict_OE2DPoint>` class
