public class DoubleBondStereochemistry extends Object implements IDoubleBondStereochemistry
IDoubleBondStereochemistry
for
further details.IDoubleBondStereochemistry
IDoubleBondStereochemistry.Conformation
Constructor and Description |
---|
DoubleBondStereochemistry(IBond stereoBond,
IBond[] ligandBonds,
IDoubleBondStereochemistry.Conformation stereo)
Creates a new double bond stereo chemistry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IAtom atom)
Does the stereo element contain the provided atom.
|
IBond[] |
getBonds()
Returns an array of ligand bonds around the double bond.
|
IChemObjectBuilder |
getBuilder()
Returns a
IChemObjectBuilder for the data classes that extend
this class. |
IDoubleBondStereochemistry.Conformation |
getStereo()
Defines the stereochemistry around the double bond.
|
IBond |
getStereoBond()
IBond that is the stereo center. |
IDoubleBondStereochemistry |
map(Map<IAtom,IAtom> atoms,
Map<IBond,IBond> bonds)
Map the atoms/bonds in this instance to a new stereo element using the
provided atom/bond mapping.
|
void |
setBuilder(IChemObjectBuilder builder)
Sets a new
IChemObjectBuilder . |
public DoubleBondStereochemistry(IBond stereoBond, IBond[] ligandBonds, IDoubleBondStereochemistry.Conformation stereo)
ligandBonds[0]
, stereoBonds
, and ligandBonds[1]
.public void setBuilder(IChemObjectBuilder builder)
IChemObjectBuilder
.builder
- the new IChemObjectBuilder
to be returnedgetBuilder()
public IChemObjectBuilder getBuilder()
IChemObjectBuilder
for the data classes that extend
this class.getBuilder
in interface ICDKObject
IChemObjectBuilder
matching this ICDKObject
public IBond[] getBonds()
getBonds
in interface IDoubleBondStereochemistry
IBond
s.public IBond getStereoBond()
IBond
that is the stereo center.getStereoBond
in interface IDoubleBondStereochemistry
IBond
.public IDoubleBondStereochemistry.Conformation getStereo()
getStereo
in interface IDoubleBondStereochemistry
IDoubleBondStereochemistry.Conformation
for this stereo element.public boolean contains(IAtom atom)
contains
in interface IStereoElement
atom
- an atom to test membershippublic IDoubleBondStereochemistry map(Map<IAtom,IAtom> atoms, Map<IBond,IBond> bonds)
IDoubleBondStereochemistry
map
in interface IDoubleBondStereochemistry
map
in interface IStereoElement
atoms
- non-null atom mapping, used to convert the original atoms to their mapped
counterpartsbonds
- non-null bond mapping, used to convert the original bonds to their mapped
counterpartsCopyright © 2017. All Rights Reserved.