public class MoleculeSetManipulator extends Object
ChemModelManipulator
Constructor and Description |
---|
MoleculeSetManipulator() |
public static int getAtomCount(IAtomContainerSet set)
public static int getBondCount(IAtomContainerSet set)
public static void removeAtomAndConnectedElectronContainers(IAtomContainerSet set, IAtom atom)
public static void removeElectronContainer(IAtomContainerSet set, IElectronContainer electrons)
public static List<IAtomContainer> getAllAtomContainers(IAtomContainerSet set)
set
- The collection of IAtomContainer objectspublic static double getTotalCharge(IAtomContainerSet set)
set
- The collection of IAtomContainer objectsAtomContainerSetManipulator
public static double getTotalFormalCharge(IAtomContainerSet set)
set
- The collection of IAtomContainer objectsAtomContainerSetManipulator
public static int getTotalHydrogenCount(IAtomContainerSet set)
set
- The collection of IAtomContainer objectsAtomContainerSetManipulator
public static List<String> getAllIDs(IAtomContainerSet set)
public static void setAtomProperties(IAtomContainerSet set, Object propKey, Object propVal)
public static IAtomContainer getRelevantAtomContainer(IAtomContainerSet moleculeSet, IAtom atom)
public static IAtomContainer getRelevantAtomContainer(IAtomContainerSet moleculeSet, IBond bond)
public static List<IChemObject> getAllChemObjects(IAtomContainerSet set)
Copyright © 2018. All Rights Reserved.