Open Babel
3.0
|
#include <openbabel/conformersearch.h>
Public Member Functions | |
OBStericConformerFilter () | |
OBStericConformerFilter (double cutoff, double vdw_factor=0.5, bool check_hydrogens=true) | |
bool | IsGood (const OBMol &mol, const RotorKey &key, double *coords) |
A steric conformer filter class.
The OBStericConformerFilter class is the default filter used by OBConformerSearch. The filter removes all molecules which have at least 2 atoms closer together than the specified distance.
Referenced by OBConformerSearch::OBConformerSearch().
OBStericConformerFilter | ( | double | cutoff, |
double | vdw_factor = 0.5 , |
||
bool | check_hydrogens = true |
||
) |
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.
Implements OBConformerFilter.
Referenced by OBConformerSearch::GetConformers(), and OBConformerSearch::Setup().