OEGetNearestBond¶
OENearestBond OEGetNearestBond(const OE2DMolDisplay &disp, const 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 OE2DMolDisplay object of which bonds are being considered. Only bonds of which bond display is visible are examined (
OEBondDisplayBase.IsVisible
)- point
Specifies the 2D display coordinates.
See also
OENearestBond class
OEGetNearbyBond
function