OEBondGlyphBase
class OEBondGlyphBase
OEBondGlyphBase is an abstract class that defines the interface used for bond annotation.
See also
Annotating Atoms and Bonds chapter
OEAddGlyphfunction.
The following classes derive from this class:
OEBondGlyphCross class
OEBondGlyphCurvedArrow class
OEBondGlyphScissors class
OEBondGlyphStitch class
OEBondGlyphZigZag class
Constructors
OEBondGlyphBase() -> OEBondGlyphBase
Default constructor.
CreateCopy
CreateCopy() -> OEBondGlyphBase
Virtual const constructor which allows copying of concrete derived objects using a reference to this base class.
RenderGlyph
RenderGlyph(disp: OE2DMolDisplay, bond: OEBondBase) -> bool
It is a virtual const method that is implemented in the concrete derived classes to annotate the given bond (i.e. to draw a glyph to mark the bond).
- disp
The OE2DMolDisplay object that is modified to annotate the specified bond.
- atom
The OEBondBase object being annotated.