class OEOverlapFuncBase : public OEMolPotential::OEMolFunc1
The OEOverlapFuncBase is an abstract base class. This class defines an interface for static overlap calculation between a reference object and a fit molecule. The OEOverlapFuncBase extends the OEMolFunc1 class to allow setting up a reference object (which could be a molecule, grid or a shape query) and the underlying functions defining interactions based on shape or color overlaps.
bool Overlap(const double* argCoords, OEOverlapResults &) bool Overlap(const OEChem::OEMolBase &argFitMol, OEOverlapResults &)
These methods calculate the overlap between the reference object and the fit molecule. The reference object must be set using the SetupRef method. The first overload assumes that the fit molecule has been set using the Setup method and uses the specified coordinates for the fit molecule. The second overlap takes the specified fit molecule and its current coordinates.