.. oe:namespace:: OEGrapheme



.. meta::
   :keywords: OEBrickRoadArcFxn, BrickRoadArcFxn


.. _OEGrapheme_OEBrickRoadArcFxn:

.. oe:class:: OEBrickRoadArcFxn

   .. oe:api::


      class OEBrickRoadArcFxn : public OESurfaceArcFxnBase

   This class represents :ref:`OEBrickRoadArcFxn <OEGrapheme_OEBrickRoadArcFxn>`.
   See example in :ref:`Figure: Example of drawing molecule surface using OEBrickRoadArcFxn<figure_OEBrickRoadArcFxn>`.

   .. _figure_OEBrickRoadArcFxn:

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

      **Example of drawing molecule surface using OEBrickRoadArcFxn**

   .. seealso::

      * :oe:func:`OEGrapheme::OEDrawBrickRoadSurfaceArc` function
      * :oe:func:`OEGrapheme::OESetSurfaceArcFxn` function
      * :oe:func:`OEGrapheme::OEDraw2DSurface` function


   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::

            OEBrickRoadArcFxn(const OEDepict::OEPen& pen = OEDepict::OEBlackPen)

      .. oe:language:: python

         .. oe:api:: python

            OEBrickRoadArcFxn(pen: OEPen = OEBlackPen) -> OEBrickRoadArcFxn

      Default constructor.

      *pen*
         The graphical properties of the arc.


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

   .. oe:method:: operator()

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

         .. oe:api::

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

      .. oe:language:: python

         .. oe:api:: python

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

      Draws a surface arc with the
      :oe:const:`OEGrapheme::OESurfaceArcStyle::BrickRoad` style.

      See example in :ref:`Figure: Example of drawing molecule surface using OEBrickRoadArcFxn<figure_OEBrickRoadArcFxn>`.

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

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

      .. seealso::

         * :ref:`OESurfaceArc <OEGrapheme_OESurfaceArc>` class


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

   .. oe:method:: CreateCopy

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

         .. oe:api::

            OESurfaceArcFxnBase* CreateCopy() const

      .. oe:language:: python

         .. oe:api:: python

            CreateCopy() -> OEBrickRoadArcFxn

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