OEGetNearestAtom¶
OENearestAtom OEGetNearestAtom(const OE2DMolDisplay &disp, const 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 OE2DMolDisplay object of which atoms are being considered. Only atoms of which atom display is visible are examined (
OEAtomDisplayBase.IsVisible
)- point
Specifies the 2D display coordinates.
See also
OENearestAtom class
OEGetNearbyAtom
function