OEDraw2DSurface

OEDraw2DSurface(disp: OE2DMolDisplay) -> bool

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

OEDraw2DSurface(disp: OE2DMolDisplay, refdisp: OE2DMolDisplay) -> bool

Allows a molecule surface to be generated on one molecule display but drawn into another 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