RDKit
Open-source cheminformatics and machine learning.
|
#include <Validate.h>
Public Member Functions | |
Layout2DValidation (double clashLimit=0.15, double bondLengthLimit=25., bool allowLongBondsInRings=true, bool allowAtomBondClashExemption=true, double minMedianBondLength=1e-3) | |
std::vector< ValidationErrorInfo > | validate (const ROMol &mol, bool reportAllFailures) const override |
std::shared_ptr< ValidationMethod > | copy () const override |
Public Member Functions inherited from RDKit::MolStandardize::ValidationMethod | |
ValidationMethod ()=default | |
virtual | ~ValidationMethod ()=default |
Static Public Member Functions | |
static double | squaredMedianBondLength (const ROMol &mol, const Conformer &conf) |
Public Attributes | |
double | clashLimit |
double | bondLengthLimit |
bool | allowLongBondsInRings |
bool | allowAtomBondClashExemption |
double | minMedianBondLength |
The Layout2DValidation class reports an error if any atoms are too close to any other atoms or bonds, and in case any bonds are too long.
Definition at line 270 of file Validate.h.
|
inline |
Definition at line 272 of file Validate.h.
|
inlineoverridevirtual |
Implements RDKit::MolStandardize::ValidationMethod.
Definition at line 283 of file Validate.h.
|
static |
|
overridevirtual |
Implements RDKit::MolStandardize::ValidationMethod.
bool RDKit::MolStandardize::Layout2DValidation::allowAtomBondClashExemption |
Definition at line 293 of file Validate.h.
bool RDKit::MolStandardize::Layout2DValidation::allowLongBondsInRings |
Definition at line 292 of file Validate.h.
double RDKit::MolStandardize::Layout2DValidation::bondLengthLimit |
Definition at line 291 of file Validate.h.
double RDKit::MolStandardize::Layout2DValidation::clashLimit |
Definition at line 290 of file Validate.h.
double RDKit::MolStandardize::Layout2DValidation::minMedianBondLength |
Definition at line 294 of file Validate.h.