OEGetNearestBond

OEDepict::OENearestBond OEGetNearestBond(const OE2DActiveSiteDisplay &disp,
                                         const OEDepict::OE2DPoint &point)

Returns an OENearestBond object that stores a pointer of the bond which is depicted nearest to a given 2D display coordinates.

disp

The OE2DActiveSiteDisplay object of which bonds are being considered.

point

Specifies the 2D display coordinates.

See also