Interface used by OBConformerSearch for filtering conformers. More...
#include <openbabel/conformersearch.h>
Public Member Functions | |
virtual bool | IsGood (const OBMol &mol, const RotorKey &key, double *coords)=0 |
Interface used by OBConformerSearch for filtering conformers.
The OBConformerFilter class defines an interface used by the OBConformerSearch class. A conformer filter is used as a first selection method when generating conformers. A typical example is a steric filter to ensure atoms are never closer than some specified distance.
Check if a conformer is good (i.e. passes the filter). The molecule, rotor key and coords are passed as parameters to this function and can be used for checking the confoormer.
Implemented in OBConformerFilters, and OBStericConformerFilter.