public class TetrahedralChirality extends Object implements ITetrahedralChirality
ITetrahedralChirality
for
further details.ITetrahedralChirality
ITetrahedralChirality.Stereo
Modifier and Type | Field and Description |
---|---|
protected static int |
A |
protected static int |
B |
protected static int |
C |
protected static int |
D |
protected static int |
E |
protected static int |
F |
AL, Allenal, AT, Atropisomeric, CFG_MASK, CisTrans, CLS_MASK, CT, CU, Cumulene, GRP_ABS, GRP_MASK, GRP_NUM_MASK, GRP_NUM_SHIFT, GRP_RAC, GRP_RAC1, GRP_RAC2, GRP_RAC3, GRP_RAC4, GRP_RAC5, GRP_REL, GRP_REL1, GRP_REL2, GRP_REL3, GRP_REL4, GRP_REL5, GRP_TYPE_MASK, HBPY8, HBPY9, HeptagonalBipyramidal, HexagonalBipyramidal, LEFT, OC, Octahedral, OPPOSITE, PBPY, PentagonalBipyramidal, RIGHT, SP, SP4, SPU, SPY, SPZ, SquarePlanar, SquarePyramidal, TBPY, Tetrahedral, TH, TOGETHER, TrigonalBipyramidal
Constructor and Description |
---|
TetrahedralChirality(IAtom chiralAtom,
IAtom[] ligands,
int config) |
TetrahedralChirality(IAtom chiralAtom,
IAtom[] ligands,
ITetrahedralChirality.Stereo stereo) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IAtom atom)
Does the stereo element contain the provided atom.
|
protected IStereoElement<IAtom,IAtom> |
create(IAtom focus,
List<IAtom> carriers,
int config) |
IChemObjectBuilder |
getBuilder()
Returns a
IChemObjectBuilder for the data classes that extend
this class. |
List<C> |
getCarriers()
The carriers of the stereochemistry
|
IAtom |
getChiralAtom()
Atom that is the chirality center.
|
int |
getConfig()
Access the configuration order and class of the stereochemistry.
|
int |
getConfigClass()
The configuration class of the stereochemistry.
|
int |
getConfigOrder()
The configuration order of the stereochemistry.
|
F |
getFocus()
The focus atom or bond at the 'centre' of the stereo-configuration.
|
int |
getGroupInfo()
Access the stereo group information - see class doc.
|
IAtom[] |
getLigands()
Returns an array of ligand atoms around the chiral atom.
|
ITetrahedralChirality.Stereo |
getStereo()
Defines the stereochemistry around the chiral atom.
|
protected static <T> T[] |
invapply(T[] src,
int[] perm) |
ITetrahedralChirality |
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.
|
ITetrahedralChirality |
map(Map<IChemObject,IChemObject> chemobjs) |
protected static int |
numCarriers(int cfg) |
void |
setBuilder(IChemObjectBuilder builder) |
void |
setConfigOrder(int cfg)
Set the configuration order of the stereochemistry.
|
void |
setGroupInfo(int grp)
Set the stereo group information - see class doc.
|
void |
setStereo(ITetrahedralChirality.Stereo stereo)
Set the stereochemistry of this tetrahedral centre.
|
String |
toString()
Returns a
String representation of this chiral element. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
contains, getCarriers, getConfig, getConfigClass, getConfigOrder, getFocus, getGroupInfo, setConfigOrder, setGroupInfo
getBuilder
protected static final int A
protected static final int B
protected static final int C
protected static final int D
protected static final int E
protected static final int F
public TetrahedralChirality(IAtom chiralAtom, IAtom[] ligands, ITetrahedralChirality.Stereo stereo)
public IAtom[] getLigands()
ITetrahedralChirality
ITetrahedralChirality.getChiralAtom()
).getLigands
in interface ITetrahedralChirality
IAtom
s.public IAtom getChiralAtom()
ITetrahedralChirality
getChiralAtom
in interface ITetrahedralChirality
IAtom
.public ITetrahedralChirality.Stereo getStereo()
ITetrahedralChirality
getStereo
in interface ITetrahedralChirality
ITetrahedralChirality.Stereo
for this stereo element.public void setStereo(ITetrahedralChirality.Stereo stereo)
ITetrahedralChirality
setStereo
in interface ITetrahedralChirality
stereo
- the new stereo assignmentpublic ITetrahedralChirality map(Map<IAtom,IAtom> atoms, Map<IBond,IBond> bonds)
map
in interface IStereoElement<IAtom,IAtom>
map
in interface ITetrahedralChirality
atoms
- nullable atom mapping, used to convert the original atoms to their mapped
counterpartsbonds
- nullable bond mapping, used to convert the original bonds to their mapped
counterpartspublic ITetrahedralChirality map(Map<IChemObject,IChemObject> chemobjs)
map
in interface IStereoElement<IAtom,IAtom>
public void setBuilder(IChemObjectBuilder builder)
protected static int numCarriers(int cfg)
public F getFocus()
getFocus
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public List<C> getCarriers()
getCarriers
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public int getConfigClass()
getConfigClass
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public int getConfigOrder()
getConfigOrder
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public int getConfig()
getConfig
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public void setConfigOrder(int cfg)
setConfigOrder
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
cfg
- the new configurationpublic int getGroupInfo()
getGroupInfo
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
public void setGroupInfo(int grp)
setGroupInfo
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
grp
- the group infopublic boolean contains(IAtom atom)
contains
in interface IStereoElement<F extends IChemObject,C extends IChemObject>
atom
- an atom to test membershippublic IChemObjectBuilder getBuilder()
IChemObjectBuilder
for the data classes that extend
this class.getBuilder
in interface ICDKObject
IChemObjectBuilder
matching this ICDKObject
protected static <T> T[] invapply(T[] src, int[] perm)
Copyright © 2021. All rights reserved.