public class PharmacophoreQueryBond extends Bond implements IQueryBond
PharmacophoreQueryAtom
,
PharmacophoreMatcher
,
QueryAtomContainer
,
Serialized FormIBond.Display, IBond.Order, IBond.Stereo
electronCount
Constructor and Description |
---|
PharmacophoreQueryBond() |
PharmacophoreQueryBond(PharmacophoreQueryAtom atom1,
PharmacophoreQueryAtom atom2,
double distance)
Create a query distance constraint between two query groups.
|
PharmacophoreQueryBond(PharmacophoreQueryAtom atom1,
PharmacophoreQueryAtom atom2,
double lower,
double upper)
Create a query distance constraint between two query groups.
|
Modifier and Type | Method and Description |
---|---|
double |
getLower() |
double |
getUpper() |
boolean |
matches(IBond bond)
Checks whether the query distance constraint matches a target distance.
|
String |
toString()
String representation of a distance constraint.
|
atoms, clone, compare, contains, equals, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtoms, getContainer, getDisplay, getEnd, getIndex, getOrder, getOther, getStereo, hashCode, isAromatic, isConnectedTo, isInRing, setAtom, setAtoms, setDisplay, setIsAromatic, setIsInRing, setOrder, setStereo
getElectronCount, setElectronCount
addListener, addProperties, getBuilder, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, shallowCopy
finalize, getClass, notify, notifyAll, wait, wait, wait
atoms, clone, compare, contains, get2DCenter, get3DCenter, getAtom, getAtomCount, getBegin, getConnectedAtom, getConnectedAtoms, getContainer, getDisplay, getEnd, getIndex, getOrder, getOther, getStereo, isAromatic, isConnectedTo, isInRing, setAtom, setAtoms, setDisplay, setIsAromatic, setIsInRing, setOrder, setStereo
getElectronCount, setElectronCount
addListener, addProperties, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty
getBuilder
public PharmacophoreQueryBond()
public PharmacophoreQueryBond(PharmacophoreQueryAtom atom1, PharmacophoreQueryAtom atom2, double lower, double upper)
atom1
- The first pharmacophore groupatom2
- The second pharmacophore grouplower
- The lower bound of the distance between the two groupsupper
- The upper bound of the distance between the two groupsPharmacophoreQueryBond(PharmacophoreQueryAtom,PharmacophoreQueryAtom,double)
public PharmacophoreQueryBond(PharmacophoreQueryAtom atom1, PharmacophoreQueryAtom atom2, double distance)
atom1
- The first pharmacophore groupatom2
- The second pharmacophore groupdistance
- The exact distance between the two groupsPharmacophoreQueryBond(PharmacophoreQueryAtom, PharmacophoreQueryAtom, double, double)
public boolean matches(IBond bond)
PharmacophoreBond
in the target molecule.
Note that distance are compared upto 2 decimal places.matches
in interface IQueryBond
bond
- The distance relationship in a target moleculepublic double getUpper()
public double getLower()
public String toString()
toString
in interface IChemObject
toString
in class Bond
Copyright © 2021. All rights reserved.