RDKit
Open-source cheminformatics and machine learning.
Toggle main menu visibility
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
15
namespace
RDKit
{
16
namespace
StructureCheck
{
17
18
struct
RDKIT_STRUCTCHECKER_EXPORT
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
24
RDKIT_STRUCTCHECKER_EXPORT
void
SetupNeighbourhood
(
25
const
ROMol
&mol, std::vector<Neighbourhood> &neighbour_array);
26
RDKIT_STRUCTCHECKER_EXPORT
bool
getMolAtomPoints
(
27
const
ROMol
&mol, std::vector<RDGeom::Point3D> &atomPoint,
28
bool
twod =
false
);
29
30
RDKIT_STRUCTCHECKER_EXPORT
std::string
LogNeighbourhood
(
31
const
ROMol
&mol,
unsigned
int
idx,
32
const
std::vector<Neighbourhood> &bneighbour_array);
33
}
// namespace StructureCheck
34
}
// namespace RDKit
RDKitBase.h
pulls in the core RDKit functionality
StructChecker.h
Contains the public API of the StructChecker.
RDKit::ROMol
Definition
ROMol.h:344
export.h
RDKIT_STRUCTCHECKER_EXPORT
#define RDKIT_STRUCTCHECKER_EXPORT
Definition
export.h:691
RDKit::StructureCheck
Definition
Pattern.h:16
RDKit::StructureCheck::LogNeighbourhood
RDKIT_STRUCTCHECKER_EXPORT std::string LogNeighbourhood(const ROMol &mol, unsigned int idx, const std::vector< Neighbourhood > &bneighbour_array)
RDKit::StructureCheck::getMolAtomPoints
RDKIT_STRUCTCHECKER_EXPORT bool getMolAtomPoints(const ROMol &mol, std::vector< RDGeom::Point3D > &atomPoint, bool twod=false)
RDKit::StructureCheck::SetupNeighbourhood
RDKIT_STRUCTCHECKER_EXPORT void SetupNeighbourhood(const ROMol &mol, std::vector< Neighbourhood > &neighbour_array)
RDKit
Std stuff.
Definition
Abbreviations.h:19
RDKit::StructureCheck::Neighbourhood
Definition
Utilites.h:19
RDKit::StructureCheck::Neighbourhood::Atoms
std::vector< unsigned > Atoms
Definition
Utilites.h:20
RDKit::StructureCheck::Neighbourhood::Bonds
std::vector< unsigned > Bonds
Definition
Utilites.h:21
GraphMol
StructChecker
Utilites.h
Generated on
for RDKit by
1.17.0