# OEDefaultCavityArcFxn¶

class OEDefaultCavityArcFxn : public OEComplexSurfaceArcFxnBase


This class represents OEDefaultCavityArcFxn functor that is used to draw the arc segment of the 2D molecule surface, where there is a cavity detected between the ligand and the protein in the 3D complex. See example in Figure: Example of drawing an arc using OEDefaultCavityArcFxn.

Example of drawing an arc using OEDefaultCavityArcFxn

The following methods are publicly inherited from OEComplexSurfaceArcFxnBase:

The following methods are publicly inherited from OESurfaceArcFxnBase:

## Constructors¶

OEDefaultCavityArcFxn()


Default constructors.

## operator()¶

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


Draws a surface arc with the OESurfaceArcStyle::Cog style using a black pen.

image
The image on which the cavity surface arc is drawn.
arc
The object that stores the parameters of the surface arc.

OESurfaceArcFxnBase *CreateCopy() const