OEOffsetMolDisplay

void OEOffsetMolDisplay(OE2DMolDisplay &disp, const OE2DPoint &offset)
void OEOffsetMolDisplay(OE2DMolDisplay &disp, const OE2DMolDisplay &refdisp)

When an OE2DMolDisplay object is created, the depicted molecule is positioned in the middle of the canvas. The OEOffsetMolDisplay function can be used to translate the depicted molecule either by specifying an offset vector or another OE2DMolDisplay object that is used as a reference that defines the translation.

../../_images/OEOffsetMolDisplay.png

Example of translating the depiction of a molecule by using offset vector (red arrows)