OEGetNearestAtomΒΆ

OEDepict::OENearestAtom OEGetNearestAtom(const OE2DActiveSiteDisplay &disp,
                                         const OEDepict::OE2DPoint &point)

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

disp
The OE2DActiveSiteDisplay object of which atoms are being considered.
point
Specifies the 2D display coordinates.

See also