public class PiContactDetectionDescriptor extends AbstractAtomPairDescriptor implements IAtomPairDescriptor
| Name | Default | Description |
| firstAtom | 0 | The position of the first atom |
| secondAtom | 0 | The position of the second atom |
| checkAromaticity | false | True is the aromaticity has to be checked |
| Constructor and Description |
|---|
PiContactDetectionDescriptor()
Constructor for the PiContactDetectionDescriptor object.
|
| Modifier and Type | Method and Description |
|---|---|
DescriptorValue |
calculate(IAtom first,
IAtom second,
IAtomContainer atomContainer)
The method returns if two atoms have pi-contact.
|
String[] |
getDescriptorNames()
Returns an array of names for each descriptor value calculated.
|
String[] |
getParameterNames()
Gets the parameterNames attribute of the PiContactDetectionDescriptor
object.
|
Object[] |
getParameters()
Gets the parameters attribute of the PiContactDetectionDescriptor object.
|
Object |
getParameterType(String name)
Gets the parameterType attribute of the PiContactDetectionDescriptor object.
|
DescriptorSpecification |
getSpecification()
Gets the specification attribute of the PiContactDetectionDescriptor object.
|
void |
initialise(IChemObjectBuilder builder)
Default implementation of initialise allows optional override.
|
void |
setParameters(Object[] params)
Sets the parameters attribute of the PiContactDetectionDescriptor object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialisepublic PiContactDetectionDescriptor()
public DescriptorSpecification getSpecification()
getSpecification in interface IDescriptorpublic void setParameters(Object[] params) throws CDKException
setParameters in interface IDescriptorparams - Parameters contains a
boolean (true if is needed a checkAromaticity)CDKException - Description of the ExceptionIDescriptor.getParameters()public Object[] getParameters()
getParameters in interface IDescriptorIDescriptor.setParameters(java.lang.Object[])public String[] getDescriptorNames()
IDescriptorALOGPDescriptor
the return array will have a single elementgetDescriptorNames in interface IDescriptorpublic DescriptorValue calculate(IAtom first, IAtom second, IAtomContainer atomContainer)
calculate in interface IAtomPairDescriptoratomContainer - AtomContainerfirst - The first IAtom of the pair for which this
descriptor should be calculatedsecond - The second IAtom of the pair for which this
descriptor should be calculatedpublic String[] getParameterNames()
getParameterNames in interface IDescriptorpublic Object getParameterType(String name)
getParameterType in interface IDescriptorname - Description of the Parameterpublic void initialise(IChemObjectBuilder builder)
initialise in interface IDescriptorbuilder - chem object buildCopyright © 2018. All Rights Reserved.