.. oe:namespace:: OEGrapheme


.. meta::
   :keywords: OEDefaultBuriedArcFxn, DefaultBuriedArcFxn


.. _OEGrapheme_OEDefaultBuriedArcFxn:

.. oe:class:: OEDefaultBuriedArcFxn

   .. oe:api::

      class OEDefaultBuriedArcFxn : public OESurfaceArcFxnBase

   This class represents :ref:`OEDefaultBuriedArcFxn <OEGrapheme_OEDefaultBuriedArcFxn>`
   functor that is used to draw the arc segment of the 2D molecule
   surface, where the ligand and the protein tightly fit in the 3D
   complex.
   See example in :ref:`Figure: Example of drawing an arc using OEDefaultBuriedArcFxn<figure_OEDefaultBuriedArcFxn>`.

   .. _figure_OEDefaultBuriedArcFxn:

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

      **Example of drawing an arc using OEDefaultBuriedArcFxn**

   .. seealso::

      * :ref:`chapter_complex_surface` chapter
      * :oe:func:`OEGrapheme::OEAddComplexSurfaceArcs` function
      * :ref:`OEDefaultBuriedArcFxn <OEGrapheme_OEDefaultBuriedArcFxn>` class
      * :ref:`OEDefaultCavityArcFxn <OEGrapheme_OEDefaultCavityArcFxn>` class
      * :ref:`OEDefaultSolventArcFxn <OEGrapheme_OEDefaultSolventArcFxn>` 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::

            OEDefaultBuriedArcFxn()

      .. oe:language:: python

         .. oe:api:: python

            OEDefaultBuriedArcFxn() -> OEDefaultBuriedArcFxn

      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
      black pen.

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

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

      .. seealso::

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


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

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESurfaceArcFxnBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEDefaultBuriedArcFxn

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