Chemical Data Processing Library C++ API - Version 1.4.0
MolProp/AtomFunctions.hpp
Go to the documentation of this file.
1 /*
2  * AtomFunctions.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_MOLPROP_ATOMFUNCTIONS_HPP
30 #define CDPL_MOLPROP_ATOMFUNCTIONS_HPP
31 
32 #include <cstddef>
33 #include <string>
34 
37 
38 
39 namespace CDPL
40 {
41 
42  namespace Chem
43  {
44 
45  class Atom;
46  class MolecularGraph;
47  } // namespace Chem
48 
49  namespace MolProp
50  {
51 
58 
65 
71 
78 
79 
86 
92  CDPL_MOLPROP_API void setPEOESigmaCharge(Chem::Atom& atom, double charge);
93 
99 
106 
107 
114 
121 
127 
134 
135 
142 
148  CDPL_MOLPROP_API void setMHMOPiCharge(Chem::Atom& atom, double charge);
149 
155 
162 
163 
169  CDPL_MOLPROP_API unsigned int getHBondDonorType(const Chem::Atom& atom);
170 
176  CDPL_MOLPROP_API void setHBondDonorType(Chem::Atom& atom, unsigned int type);
177 
183 
190 
191 
198 
204  CDPL_MOLPROP_API void setHBondAcceptorType(Chem::Atom& atom, unsigned int type);
205 
211 
218 
219 
226  CDPL_MOLPROP_API bool isInRing(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
227 
235  CDPL_MOLPROP_API bool isInRingOfSize(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t size);
236 
244 
245 
252 
258  CDPL_MOLPROP_API std::size_t getIUPACGroup(const Chem::Atom& atom);
259 
265  CDPL_MOLPROP_API std::size_t getPeriod(const Chem::Atom& atom);
266 
273 
280  CDPL_MOLPROP_API double getCovalentRadius(const Chem::Atom& atom, std::size_t order);
281 
288 
294  CDPL_MOLPROP_API const std::string& getElementName(const Chem::Atom& atom);
295 
302 
309 
316 
323 
330 
337 
344 
351 
358 
359 
374  unsigned int flags = Chem::AtomPropertyFlag::DEFAULT);
375 
382 
389  CDPL_MOLPROP_API bool isUnsaturated(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
390 
398 
405  CDPL_MOLPROP_API bool isHBondDonor(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
406 
416  CDPL_MOLPROP_API bool isCarbonylLike(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, bool c_only = false, bool db_o_only = false);
417 
427  CDPL_MOLPROP_API bool isAmideCenter(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, bool c_only = false, bool db_o_only = false);
428 
437  CDPL_MOLPROP_API bool isAmideNitrogen(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, bool c_only = false, bool db_o_only = false);
438 
446 
454 
463  CDPL_MOLPROP_API bool isBridgehead(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, bool bridged_only);
464 
472  CDPL_MOLPROP_API bool isSpiroCenter(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
473 
474 
483  unsigned int flags = Chem::AtomPropertyFlag::DEFAULT);
484 
493  CDPL_MOLPROP_API std::size_t getExplicitAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, unsigned int type, bool strict = true);
494 
503  CDPL_MOLPROP_API std::size_t getAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, unsigned int type, bool strict = true);
504 
512 
519  CDPL_MOLPROP_API std::size_t getChainAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
520 
527  CDPL_MOLPROP_API std::size_t getRingAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
528 
535  CDPL_MOLPROP_API std::size_t getAromaticAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
536 
543  CDPL_MOLPROP_API std::size_t getHeavyAtomCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
544 
545 
552  CDPL_MOLPROP_API std::size_t getExplicitBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
553 
561  CDPL_MOLPROP_API std::size_t getExplicitBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t order);
562 
572  CDPL_MOLPROP_API std::size_t getExplicitBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t order, unsigned int type, bool strict = true);
573 
580  CDPL_MOLPROP_API std::size_t getBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
581 
589  CDPL_MOLPROP_API std::size_t getBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t order);
590 
600  CDPL_MOLPROP_API std::size_t getBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t order, unsigned int type, bool strict = true);
601 
609 
616  CDPL_MOLPROP_API std::size_t getChainBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
617 
624  CDPL_MOLPROP_API std::size_t getRingBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
625 
632  CDPL_MOLPROP_API std::size_t getAromaticBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
633 
640  CDPL_MOLPROP_API std::size_t getHeavyBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
641 
651  CDPL_MOLPROP_API std::size_t getRotatableBondCount(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, bool h_rotors = false, bool ring_bonds = false, bool amide_bonds = false);
652 
653 
660  CDPL_MOLPROP_API std::size_t calcExplicitValence(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
661 
668  CDPL_MOLPROP_API std::size_t calcValence(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
669 
670 
678 
685 
686 
693  CDPL_MOLPROP_API std::size_t calcStericNumber(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph);
694 
702  CDPL_MOLPROP_API unsigned int getVSEPRCoordinationGeometry(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t steric_num);
703 
711 
712 
720 
728  CDPL_MOLPROP_API double calcEffectivePolarizability(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, double damping = 0.75);
729 
736 
744 
752 
760  CDPL_MOLPROP_API double calcInductiveEffect(const Chem::Atom& atom, const Chem::MolecularGraph& molgraph, std::size_t num_bonds = 10);
761  } // namespace MolProp
762 } // namespace CDPL
763 
764 #endif // CDPL_MOLPROP_ATOMFUNCTIONS_HPP
Definition of constants in namespace CDPL::Chem::AtomPropertyFlag.
Definition of the preprocessor macro CDPL_MOLPROP_API.
#define CDPL_MOLPROP_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
Abstract base class representing a chemical atom and its bonded neighborhood.
Definition: Atom.hpp:57
Abstract base class for representations of a chemical structure as a graph of bonded atoms.
Definition: MolecularGraph.hpp:57
constexpr unsigned int DEFAULT
Represents the default set of atom properties.
Definition: Chem/AtomPropertyFlag.hpp:53
CDPL_MOLPROP_API std::size_t getElementValenceElectronCount(const Chem::Atom &atom)
Returns the number of valence electrons of the chemical element associated with atom.
CDPL_MOLPROP_API std::size_t getAromaticAtomCount(const Chem::AtomContainer &cntnr)
Returns the number of aromatic atoms in cntnr.
CDPL_MOLPROP_API std::size_t getExplicitChainBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of explicit chain (non-ring) bonds incident to atom in molgraph.
CDPL_MOLPROP_API bool isHeavy(const Chem::Atom &atom)
Tells whether atom is a heavy (non-hydrogen) atom.
CDPL_MOLPROP_API void setPEOESigmaCharge(Chem::Atom &atom, double charge)
Sets the value of the MolProp::AtomProperty::PEOE_SIGMA_CHARGE property of atom to charge.
CDPL_MOLPROP_API std::size_t getHeavyBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of heavy bonds incident to atom in molgraph.
CDPL_MOLPROP_API void clearHBondAcceptorType(Chem::Atom &atom)
Removes the MolProp::AtomProperty::H_BOND_ACCEPTOR_TYPE property from atom.
CDPL_MOLPROP_API double calcInductiveEffect(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, std::size_t num_bonds=10)
Calculates the inductive effect parameter of atom in molgraph.
CDPL_MOLPROP_API void setHBondAcceptorType(Chem::Atom &atom, unsigned int type)
Sets the value of the MolProp::AtomProperty::H_BOND_ACCEPTOR_TYPE property of atom to type.
CDPL_MOLPROP_API double calcPiElectronegativity(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the pi electronegativity of atom in molgraph.
CDPL_MOLPROP_API void clearMHMOPiCharge(Chem::Atom &atom)
Removes the MolProp::AtomProperty::MHMO_PI_CHARGE property from atom.
CDPL_MOLPROP_API std::size_t calcStericNumber(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the steric number of atom in molgraph (used by VSEPR theory).
CDPL_MOLPROP_API std::size_t calcExplicitValence(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the explicit valence of atom in molgraph (sum of explicit bond orders).
CDPL_MOLPROP_API bool isSemiMetal(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a semi-metal.
CDPL_MOLPROP_API void setHydrophobicity(Chem::Atom &atom, double hyd)
Sets the value of the MolProp::AtomProperty::HYDROPHOBICITY property of atom to hyd.
CDPL_MOLPROP_API std::size_t getChainAtomCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of chain (non-ring) neighbors of atom in molgraph (including implicit hydrogens).
CDPL_MOLPROP_API double getAllredRochowElectronegativity(const Chem::Atom &atom)
Returns the Allred-Rochow electronegativity of the chemical element associated with atom.
CDPL_MOLPROP_API std::size_t getHeavyAtomCount(const Chem::AtomContainer &cntnr)
Returns the number of heavy (non-hydrogen) atoms in cntnr.
CDPL_MOLPROP_API std::size_t getExplicitChainAtomCount(const Chem::AtomContainer &cntnr)
Returns the number of explicit chain (non-ring) atoms in cntnr.
CDPL_MOLPROP_API bool isMainGroupElement(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a main-group element.
CDPL_MOLPROP_API void setPEOESigmaElectronegativity(Chem::Atom &atom, double e_neg)
Sets the value of the MolProp::AtomProperty::PEOE_SIGMA_ELECTRONEGATIVITY property of atom to e_neg.
CDPL_MOLPROP_API bool isOrdinaryHydrogen(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, unsigned int flags=Chem::AtomPropertyFlag::DEFAULT)
Tells whether atom is an ordinary hydrogen.
CDPL_MOLPROP_API double getCovalentRadius(const Chem::Atom &atom, std::size_t order)
Returns the covalent radius of the chemical element associated with atom for the given bond order.
CDPL_MOLPROP_API bool hasHBondAcceptorType(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::H_BOND_ACCEPTOR_TYPE property.
CDPL_MOLPROP_API void clearHBondDonorType(Chem::Atom &atom)
Removes the MolProp::AtomProperty::H_BOND_DONOR_TYPE property from atom.
CDPL_MOLPROP_API bool hasMHMOPiCharge(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::MHMO_PI_CHARGE property.
CDPL_MOLPROP_API std::size_t getChainBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of chain (non-ring) bonds incident to atom in molgraph (including implicit-hydroge...
CDPL_MOLPROP_API bool isNobleGas(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a noble gas.
CDPL_MOLPROP_API bool hasPEOESigmaElectronegativity(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::PEOE_SIGMA_ELECTRONEGATIVITY property.
CDPL_MOLPROP_API void clearPEOESigmaElectronegativity(Chem::Atom &atom)
Removes the MolProp::AtomProperty::PEOE_SIGMA_ELECTRONEGATIVITY property from atom.
CDPL_MOLPROP_API bool isUnsaturated(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom is unsaturated (involved in at least one multiple bond) in molgraph.
CDPL_MOLPROP_API unsigned int getVSEPRCoordinationGeometry(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, std::size_t steric_num)
Returns the VSEPR coordination geometry of atom in molgraph (see namespace MolProp::CoordinationGeome...
CDPL_MOLPROP_API bool isChemicalElement(const Chem::Atom &atom)
Tells whether atom represents a chemical element.
CDPL_MOLPROP_API std::size_t calcValenceElectronCount(const Chem::Atom &atom)
Calculates the number of valence electrons of the chemical element associated with atom (corrected fo...
CDPL_MOLPROP_API std::size_t getOrdinaryHydrogenCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, unsigned int flags=Chem::AtomPropertyFlag::DEFAULT)
Returns the number of ordinary-hydrogen neighbors of atom in molgraph (see isOrdinaryHydrogen() for t...
CDPL_MOLPROP_API bool isCarbonylLike(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, bool c_only=false, bool db_o_only=false)
Tells whether atom is a carbonyl-like center in molgraph.
CDPL_MOLPROP_API std::size_t getExplicitBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of explicit bonds incident to atom in molgraph.
CDPL_MOLPROP_API std::size_t calcFreeValenceElectronCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the number of free (lone-pair) valence electrons of atom in molgraph.
CDPL_MOLPROP_API bool isBridgehead(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, bool bridged_only)
Tells whether atom is a bridgehead atom in molgraph.
CDPL_MOLPROP_API double calcEffectivePolarizability(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, double damping=0.75)
Calculates the effective atomic polarizability of atom in molgraph (after Kang and Jhon).
CDPL_MOLPROP_API void setHBondDonorType(Chem::Atom &atom, unsigned int type)
Sets the value of the MolProp::AtomProperty::H_BOND_DONOR_TYPE property of atom to type.
CDPL_MOLPROP_API bool hasHydrophobicity(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::HYDROPHOBICITY property.
CDPL_MOLPROP_API double calcTotalPartialCharge(const Chem::Atom &atom)
Calculates the total partial charge of atom (sum of stored PEOE sigma and MHMO pi charge contribution...
CDPL_MOLPROP_API bool isAmideCenter(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, bool c_only=false, bool db_o_only=false)
Tells whether atom is the center of an amide group in molgraph.
CDPL_MOLPROP_API bool isHBondAcceptor(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom acts as an H-bond acceptor in molgraph.
CDPL_MOLPROP_API std::size_t getAromaticBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of aromatic bonds incident to atom in molgraph.
CDPL_MOLPROP_API std::size_t getIUPACGroup(const Chem::Atom &atom)
Returns the IUPAC group number of the chemical element associated with atom.
CDPL_MOLPROP_API std::size_t calcValence(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the total valence of atom in molgraph (explicit valence plus implicit hydrogens).
CDPL_MOLPROP_API std::size_t getPeriod(const Chem::Atom &atom)
Returns the period of the chemical element associated with atom.
CDPL_MOLPROP_API double getPEOESigmaCharge(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::PEOE_SIGMA_CHARGE property of atom.
CDPL_MOLPROP_API double getVdWRadius(const Chem::Atom &atom)
Returns the Van der Waals radius of the chemical element associated with atom.
CDPL_MOLPROP_API bool isPlanarNitrogen(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom is a planar nitrogen in molgraph.
CDPL_MOLPROP_API bool isInvertibleNitrogen(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom is an invertible (pyramidal, non-aromatic, non-amide) nitrogen in molgraph.
CDPL_MOLPROP_API std::size_t getAtomCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, unsigned int type, bool strict=true)
Returns the number of neighbors of atom in molgraph (including implicit hydrogens) whose Chem::AtomTy...
CDPL_MOLPROP_API void clearHydrophobicity(Chem::Atom &atom)
Removes the MolProp::AtomProperty::HYDROPHOBICITY property from atom.
CDPL_MOLPROP_API unsigned int getHBondAcceptorType(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::H_BOND_ACCEPTOR_TYPE property of atom (see namespace ...
CDPL_MOLPROP_API void setMHMOPiCharge(Chem::Atom &atom, double charge)
Sets the value of the MolProp::AtomProperty::MHMO_PI_CHARGE property of atom to charge.
CDPL_MOLPROP_API bool isInRingOfSize(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, std::size_t size)
Tells whether atom is a member of a ring of size size in molgraph.
CDPL_MOLPROP_API bool isMetal(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a metal.
CDPL_MOLPROP_API double calcLonePairElectronegativity(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Calculates the lone-pair electronegativity of atom in molgraph.
CDPL_MOLPROP_API std::size_t getBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the total number of bonds incident to atom in molgraph (including implicit-hydrogen bonds).
CDPL_MOLPROP_API double getHydrophobicity(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::HYDROPHOBICITY property of atom.
CDPL_MOLPROP_API std::size_t getExplicitAtomCount(const Chem::AtomContainer &cntnr)
Returns the total number of explicit atoms in cntnr.
CDPL_MOLPROP_API bool hasPEOESigmaCharge(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::PEOE_SIGMA_CHARGE property.
CDPL_MOLPROP_API std::size_t getRotatableBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, bool h_rotors=false, bool ring_bonds=false, bool amide_bonds=false)
Returns the number of rotatable bonds incident to atom in molgraph.
CDPL_MOLPROP_API unsigned int getHBondDonorType(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::H_BOND_DONOR_TYPE property of atom (see namespace Mol...
CDPL_MOLPROP_API bool isNonMetal(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a non-metal.
CDPL_MOLPROP_API bool isHBondDonor(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom acts as an H-bond donor in molgraph.
CDPL_MOLPROP_API std::size_t getRingAtomCount(const Chem::AtomContainer &cntnr)
Returns the number of ring atoms in cntnr.
CDPL_MOLPROP_API void clearPEOESigmaCharge(Chem::Atom &atom)
Removes the MolProp::AtomProperty::PEOE_SIGMA_CHARGE property from atom.
CDPL_MOLPROP_API bool isSpiroCenter(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom is a spiro center in molgraph.
CDPL_MOLPROP_API bool isAmideNitrogen(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, bool c_only=false, bool db_o_only=false)
Tells whether atom is the nitrogen of an amide group in molgraph.
CDPL_MOLPROP_API bool isInRing(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Tells whether atom is a member of any ring in molgraph.
CDPL_MOLPROP_API std::size_t getNumContainingSSSRRings(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of SSSR rings of molgraph that contain atom.
CDPL_MOLPROP_API double getAtomicWeight(const Chem::Atom &atom)
Returns the standard atomic weight of the chemical element associated with atom.
CDPL_MOLPROP_API double getMHMOPiCharge(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::MHMO_PI_CHARGE property of atom.
CDPL_MOLPROP_API bool isHalogen(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a halogen.
CDPL_MOLPROP_API bool hasHBondDonorType(const Chem::Atom &atom)
Tells whether atom carries an explicit MolProp::AtomProperty::H_BOND_DONOR_TYPE property.
CDPL_MOLPROP_API double getPEOESigmaElectronegativity(const Chem::Atom &atom)
Returns the value of the MolProp::AtomProperty::PEOE_SIGMA_ELECTRONEGATIVITY property of atom.
CDPL_MOLPROP_API bool isTransitionMetal(const Chem::Atom &atom)
Tells whether the chemical element associated with atom is a transition metal.
CDPL_MOLPROP_API const std::string & getElementName(const Chem::Atom &atom)
Returns the element name of the chemical element associated with atom.
CDPL_MOLPROP_API double getHybridPolarizability(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the hybridization-state-dependent atomic polarizability of atom in molgraph.
CDPL_MOLPROP_API std::size_t getRingBondCount(const Chem::Atom &atom, const Chem::MolecularGraph &molgraph)
Returns the number of ring bonds incident to atom in molgraph.
The namespace of the Chemical Data Processing Library.