Package org.openscience.cdk.isomorphism
Class AtomMappingTools
- java.lang.Object
-
- org.openscience.cdk.isomorphism.AtomMappingTools
-
-
Constructor Summary
Constructors Constructor Description AtomMappingTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<Integer,Integer>
mapAtomsOfAlignedStructures(IAtomContainer firstAtomContainer, IAtomContainer secondAtomContainer, Map<Integer,Integer> mappedAtoms)
Returns a Map with the AtomNumbers, the first number corresponds to the first (or the largest AtomContainer) atomContainer.
-
-
-
Method Detail
-
mapAtomsOfAlignedStructures
public static Map<Integer,Integer> mapAtomsOfAlignedStructures(IAtomContainer firstAtomContainer, IAtomContainer secondAtomContainer, Map<Integer,Integer> mappedAtoms) throws CDKException
Returns a Map with the AtomNumbers, the first number corresponds to the first (or the largest AtomContainer) atomContainer. Only for similar and aligned molecules with coordinates!- Parameters:
firstAtomContainer
- the (largest) first aligned AtomContainer which is the referencesecondAtomContainer
- the second aligned AtomContainer- Returns:
- a Map of the mapped atoms
- Throws:
CDKException
- if there is an error in the UniversalIsomorphismTester
-
-