Modifier and Type | Field and Description |
---|---|
static String |
TEMPLATE_PATH |
Modifier and Type | Method and Description |
---|---|
static BitSet |
getBitSetFromFile(StringTokenizer st) |
static TemplateHandler3D |
getInstance() |
IRingSet |
getLargestRingSet(List<IRingSet> ringSystems)
Returns the largest (number of atoms) ring set in a molecule.
|
IAtomContainer |
getTemplateAt(int position)
Gets the templateAt attribute of the TemplateHandler object.
|
int |
getTemplateCount()
Gets the templateCount attribute of the TemplateHandler object.
|
void |
mapTemplates(IAtomContainer ringSystems,
double numberOfRingAtoms)
Deprecated.
|
void |
mapTemplates(IAtomContainer mol,
int numberOfRingAtoms)
Checks if one of the loaded templates is a substructure in the given
Molecule.
|
public static final String TEMPLATE_PATH
public static TemplateHandler3D getInstance() throws CDKException
CDKException
public static BitSet getBitSetFromFile(StringTokenizer st) throws Exception
Exception
public IRingSet getLargestRingSet(List<IRingSet> ringSystems)
ringSystems
- RingSystems of a molecule@Deprecated public void mapTemplates(IAtomContainer ringSystems, double numberOfRingAtoms) throws CDKException, CloneNotSupportedException
mapTemplates(org.openscience.cdk.interfaces.IAtomContainer, int)
public void mapTemplates(IAtomContainer mol, int numberOfRingAtoms) throws CDKException, CloneNotSupportedException
mol
- AtomContainer from the ring systems.numberOfRingAtoms
- Number of atoms in the specified ringCloneNotSupportedException
- The atomcontainer cannot be cloned.CDKException
public int getTemplateCount()
public IAtomContainer getTemplateAt(int position)
position
- Description of the ParameterCopyright © 2021. All rights reserved.