.. oe:namespace:: OEGrapheme


.. meta::
   :keywords: OEDefaultSolventArcFxn, DefaultSolventArcFxn


.. _OEGrapheme_OEDefaultSolventArcFxn:

.. oe:class:: OEDefaultSolventArcFxn

   .. oe:api::

      class OEDefaultSolventArcFxn : public OESurfaceArcFxnBase

   This class represents :ref:`OEDefaultSolventArcFxn <OEGrapheme_OEDefaultSolventArcFxn>`
   functor that is used to draw the arc segment of the 2D molecule
   surface, where the ligand is exposed to the solvent in the 3D
   complex.
   See example in :ref:`Figure: Example of drawing an arc using OEDefaultSolventArcFxn<figure_OEDefaultSolventArcFxn>`.

   .. _figure_OEDefaultSolventArcFxn:

   .. figure:: ../images/OEDefaultSolventArcFxn.*
      :align:  center

      **Example of drawing an arc using OEDefaultSolventArcFxn**

   .. seealso::

      * :ref:`chapter_complex_surface` chapter
      * :oe:func:`OEGrapheme::OEAddComplexSurfaceArcs` function
      * :ref:`OEDefaultBuriedArcFxn <OEGrapheme_OEDefaultBuriedArcFxn>` class
      * :ref:`OEDefaultCavityArcFxn <OEGrapheme_OEDefaultCavityArcFxn>` class
      * :ref:`OEDefaultVoidArcFxn <OEGrapheme_OEDefaultVoidArcFxn>` class


   The following methods are publicly inherited from :ref:`OESurfaceArcFxnBase <OEGrapheme_OESurfaceArcFxnBase>`:

   ================================================================== ==================================================================
   :oe:meth:`operator()<OEGrapheme::OESurfaceArcFxnBase::operator()>` :oe:meth:`CreateCopy<OEGrapheme::OESurfaceArcFxnBase::CreateCopy>`
   ================================================================== ==================================================================

   .. ################################################################
      #
      ################################################################

   .. oe:method:: Constructors

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

         .. oe:api::

            OEDefaultSolventArcFxn()

      .. oe:language:: python

         .. oe:api:: python

            OEDefaultSolventArcFxn() -> OEDefaultSolventArcFxn

      Default constructor.


   .. ################################################################
      #
      ################################################################

   .. oe:method:: operator()

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

         .. oe:api::

            bool operator()(OEDepict::OEImageBase& image, const OESurfaceArc& a) const

      .. oe:language:: python

         .. oe:api:: python

            __call__(image: OEImageBase, a: OESurfaceArc) -> bool

      Draws a surface arc with the
      :oe:const:`OEGrapheme::OESurfaceArcStyle::Default` style using a
      grey pen.

      *image*
         The image on which the *solvent* surface arc is drawn.

      *arc*
         The object that stores the parameters of the surface arc.

      .. seealso::

         * :oe:func:`OEGrapheme::OEAddComplexSurfaceArcs` function
         * :oe:func:`OEGrapheme::OEDrawDefaultSurfaceArc` function


   .. ################################################################
      #
      ################################################################

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESurfaceArcFxnBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEDefaultSolventArcFxn

      Deep copy constructor that returns a copy of the object.
      The memory for the returned :ref:`OEDefaultSolventArcFxn <OEGrapheme_OEDefaultSolventArcFxn>`
      object is dynamically allocated and owned by the caller.
