OEDraw2DSurfaceΒΆ

bool OEDraw2DSurface(OEDepict::OE2DMolDisplay &disp)

Calculates the arc segments of the molecule surface and draws the arcs into the molecule display using the functor previously added to the atoms (by calling OESetSurfaceArcFxn). See Figure: Example of drawing a molecule surface using the OEDraw2DSurface function.

disp
The molecule display on which the 2D molecule surface is drawn.

Note

If no surface drawing functor is set to the atoms, then the OEDefaultArcFxn functor will be used by default.

../../_images/OEDraw2DSurface.png

Example of drawing a molecule surface using the OEDraw2DSurface function

bool OEDraw2DSurface(OEDepict::OE2DMolDisplay &disp,
                     const OEDepict::OE2DMolDisplay &refdisp)

Allows a molecule surface to be generated on one molecule display but drawn into an other display. See Figure: Example of using OEDraw2DSurface with reference molecule display.

disp
The molecule display on which the 2D molecule surface is drawn.
refdisp
The molecule display for which the 2D molecule surface is calculated.
../../_images/OEDraw2DSurfaceReference.png

Example of using OEDraw2DSurface with reference molecule display