OESiteHopperScore¶
class OESiteHopperScore : public OESiteHopperResults
This class is use to hold the score and results from a SiteHopper search.
The following methods are publicly inherited from OESiteHopperResults:
Constructors¶
OESiteHopperScore()
OESiteHopperScore(OESiteHopperScore &&)=default
OESiteHopperScore(const OESiteHopperScore &rhs)=default
Default constructors.
operator=¶
OESiteHopperScore &operator=(OESiteHopperScore &&rhs)=default
OESiteHopperScore &operator=(const OESiteHopperScore &rhs)=default
GetDesignUnit¶
OEBio::OEDesignUnit GetDesignUnit() const
Get output OEDesignUnit for this result. The transfrom from the overlay will already be applied.
GetTransform¶
const OEChem::OETrans &GetTransform() const
Get the transform from the overlay. This allows applying the same transform to other objects to move them into the output frame of reference.
Note
When asking for the OEDesignUnit from this class, DO NOT apply this transform as the OEDesignUnit will already be transformed.
SetDesignUnit¶
void SetDesignUnit(const OEBio::OEDesignUnit &du)
Internal use: Set the OEDesignUnit.