public abstract class WedgeRule
extends java.lang.Object
Constructor and Description |
---|
WedgeRule() |
Modifier and Type | Method and Description |
---|---|
abstract org.openscience.cdk.interfaces.IStereoElement |
execute(org.openscience.cdk.interfaces.IAtom centralAtom,
org.openscience.cdk.interfaces.IAtomContainer atomContainer,
java.util.SortedMap<java.lang.Double,org.openscience.cdk.interfaces.IBond> angleMap) |
int[] |
getMatchPermutation()
A match between a particular bond stereo list and the pattern in a rule
may be cyclicly permuted - this method returns the permutation.
|
abstract org.openscience.cdk.interfaces.IBond.Stereo[] |
getPattern() |
boolean |
matches(org.openscience.cdk.interfaces.IBond.Stereo[] stereoList)
Match a list of
IBond.Stereo s to the pattern list of stereos,
allowing for circular permutation of the list. |
public int[] getMatchPermutation()
public boolean matches(org.openscience.cdk.interfaces.IBond.Stereo[] stereoList)
IBond.Stereo
s to the pattern list of stereos,
allowing for circular permutation of the list. As a side-effect, it
stores the point in the pattern where the match was made.stereoList
- the array of stereo constants to matchpublic abstract org.openscience.cdk.interfaces.IBond.Stereo[] getPattern()
public abstract org.openscience.cdk.interfaces.IStereoElement execute(org.openscience.cdk.interfaces.IAtom centralAtom, org.openscience.cdk.interfaces.IAtomContainer atomContainer, java.util.SortedMap<java.lang.Double,org.openscience.cdk.interfaces.IBond> angleMap)
centralAtom
- atomContainer
- angleMap
-