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.