RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::MolStandardize::Is2DValidation Class Reference

#include <Validate.h>

Inheritance diagram for RDKit::MolStandardize::Is2DValidation:
RDKit::MolStandardize::ValidationMethod

Public Member Functions

 Is2DValidation (double threshold=1.e-3)
 
std::vector< ValidationErrorInfovalidate (const ROMol &mol, bool reportAllFailures) const override
 
std::shared_ptr< ValidationMethodcopy () const override
 
- Public Member Functions inherited from RDKit::MolStandardize::ValidationMethod
 ValidationMethod ()=default
 
virtual ~ValidationMethod ()=default
 

Public Attributes

double threshold
 

Detailed Description

The Is2DValidation class reports an error if the input molecule representation is designated as 3D or if it includes non-null Z coordinates, and in case all atoms are assigned the same coordinates.

Definition at line 255 of file Validate.h.

Constructor & Destructor Documentation

◆ Is2DValidation()

RDKit::MolStandardize::Is2DValidation::Is2DValidation ( double  threshold = 1.e-3)
inline

Definition at line 257 of file Validate.h.

Member Function Documentation

◆ copy()

std::shared_ptr< ValidationMethod > RDKit::MolStandardize::Is2DValidation::copy ( ) const
inlineoverridevirtual

Implements RDKit::MolStandardize::ValidationMethod.

Definition at line 260 of file Validate.h.

◆ validate()

std::vector< ValidationErrorInfo > RDKit::MolStandardize::Is2DValidation::validate ( const ROMol mol,
bool  reportAllFailures 
) const
overridevirtual

Member Data Documentation

◆ threshold

double RDKit::MolStandardize::Is2DValidation::threshold

Definition at line 264 of file Validate.h.


The documentation for this class was generated from the following file: