RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
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
15namespace RDKit {
16namespace 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
Contains the public API of the StructChecker.
#define RDKIT_STRUCTCHECKER_EXPORT
Definition export.h:505
RDKIT_STRUCTCHECKER_EXPORT std::string LogNeighbourhood(const ROMol &mol, unsigned int idx, const std::vector< Neighbourhood > &bneighbour_array)
RDKIT_STRUCTCHECKER_EXPORT bool getMolAtomPoints(const ROMol &mol, std::vector< RDGeom::Point3D > &atomPoint, bool twod=false)
RDKIT_STRUCTCHECKER_EXPORT void SetupNeighbourhood(const ROMol &mol, std::vector< Neighbourhood > &neighbour_array)
Std stuff.
bool rdvalue_is(const RDValue_cast_t)
std::vector< unsigned > Atoms
Definition Utilites.h:20
std::vector< unsigned > Bonds
Definition Utilites.h:21