|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.calculations.stereo.Stereochemistry
public class Stereochemistry
Central class for accessing functions analyzing the topology of a molecule.
| Field Summary | |
|---|---|
static int |
EVEN
|
static int |
ODD
|
| Constructor Summary | |
|---|---|
Stereochemistry()
|
|
| Method Summary | |
|---|---|
int |
asymmetricAtomCount()
Calculates the number of atoms having four different ligands. |
int[] |
asymmetricAtoms()
Retrieves the indexes of atom having four different ligands. |
int |
chiralCenterCount()
Calculates the number of chiral centers. |
int[] |
chiralCenters()
Determines the chiral center atoms. |
static MoleculeGraph |
getEnantiomer(MoleculeGraph m)
Get the enantiomer pair of the given molecule |
MoleculeGraph |
getMolecule()
Retrieves the input molecule |
int[] |
graphInvariant()
|
boolean |
isAsymmetricAtom(int a)
Determines if an atom is asymmetric or not. |
boolean |
isChiral()
Determines if the molecule contains an atom with R or S stereo configuration. |
boolean |
isChiralCenter(int a)
Determines if an atom can be a tetrahedral stereogenic center. |
void |
setMolecule(MoleculeGraph mol)
Specifies a molecule to calculate with. |
java.lang.String |
stereo(int a)
Calculates absolute stereo configuration of the given atom. |
java.lang.String |
stereo(int a1,
int a2)
Calculates absolute stereo configuration of the given double bond. |
int |
stereoDoubleBondCount()
Calculates the number of stereo double bonds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int ODD
public static final int EVEN
| Constructor Detail |
|---|
public Stereochemistry()
| Method Detail |
|---|
public MoleculeGraph getMolecule()
public void setMolecule(MoleculeGraph mol)
mol - the molecule to calculate withpublic int asymmetricAtomCount()
public int[] asymmetricAtoms()
public int chiralCenterCount()
public int[] chiralCenters()
public int[] graphInvariant()
public boolean isAsymmetricAtom(int a)
a - index of the atom
public boolean isChiral()
public boolean isChiralCenter(int a)
a - index of the atom
public java.lang.String stereo(int a)
a - index of the atom
public java.lang.String stereo(int a1,
int a2)
a1 - index of the atom at one end of the double bonda2 - index of the atom at the other end of the double bond
public int stereoDoubleBondCount()
public static MoleculeGraph getEnantiomer(MoleculeGraph m)
m - molecule
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||