OENearestResidue¶
class OENearestResidue
The OENearestResidue class that is used by
OEGetNearestResidue
and
OEGetNearbyResidue
functions.
It stores an atom pointer, an associated distance and the
display position of the atom.
Constructors¶
OENearestResidue(const OEChem::OEResidue &residue, double dist,
const OEDepict::OE2DPoint &pos)
Constructor.
GetDisplayPosition¶
const OEDepict::OE2DPoint &GetDisplayPosition() const
Returns the display position of the nearest residue.
GetResidue¶
const OEChem::OEResidue &GetResidue() const
Returns the residue stored in the OENearestResidue object.