RDKit
Open-source cheminformatics and machine learning.
Utilites.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2016 Novartis Institutes for BioMedical Research
3 //
4 // @@ All Rights Reserved @@
5 // This file is part of the RDKit.
6 // The contents are covered by the terms of the BSD license
7 // which is included in the file license.txt, found at the root
8 // of the RDKit source tree.
9 //
10 #include <RDGeneral/export.h>
11 #pragma once
12 #include "../RDKitBase.h"
13 #include "StructChecker.h"
14 
15 namespace RDKit {
16 namespace StructureCheck {
17 
19  Neighbourhood { // a set of an atom neighbours
20  std::vector<unsigned> Atoms; // indices of atoms
21  std::vector<unsigned> Bonds; // indices of bonds
22 };
23 
25  const ROMol &mol, std::vector<Neighbourhood> &neighbour_array);
27  const ROMol &mol, std::vector<RDGeom::Point3D> &atomPoint,
28  bool twod = false);
29 
31  const ROMol &mol, unsigned int idx,
32  const std::vector<Neighbourhood> &bneighbour_array);
33 } // namespace StructureCheck
34 } // namespace RDKit
RDKit::StructureCheck::Neighbourhood
Definition: Utilites.h:18
RDKit::StructureCheck::Neighbourhood::Atoms
std::vector< unsigned > Atoms
Definition: Utilites.h:20
RDKit::StructureCheck::getMolAtomPoints
RDKIT_STRUCTCHECKER_EXPORT bool getMolAtomPoints(const ROMol &mol, std::vector< RDGeom::Point3D > &atomPoint, bool twod=false)
RDKit::ROMol
Definition: ROMol.h:171
RDKit::StructureCheck::SetupNeighbourhood
RDKIT_STRUCTCHECKER_EXPORT void SetupNeighbourhood(const ROMol &mol, std::vector< Neighbourhood > &neighbour_array)
RDKit::StructureCheck::Neighbourhood::Bonds
std::vector< unsigned > Bonds
Definition: Utilites.h:21
RDKit::StructureCheck::LogNeighbourhood
RDKIT_STRUCTCHECKER_EXPORT std::string LogNeighbourhood(const ROMol &mol, unsigned int idx, const std::vector< Neighbourhood > &bneighbour_array)
StructChecker.h
Contains the public API of the StructChecker.
RDKit
Std stuff.
Definition: Atom.h:30
RDKIT_STRUCTCHECKER_EXPORT
#define RDKIT_STRUCTCHECKER_EXPORT
Definition: export.h:645
export.h