NeighborCriterionpublic class CriterionBondedSimple extends CriterionAdapter
subCriterion| Constructor | Description |
|---|---|
CriterionBondedSimple(NeighborCriterion criterion) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
accept(IAtom atom1,
IAtom atom2) |
Implementation of this method should introduce new criterion and return
true if pair meets this criterion and that of the wrapped
NeighborCriterion.
|
boolean |
isBonded() |
|
void |
setBonded(boolean b) |
getWrappedCriterion, needUpdate, reset, setBox, unsafepublic CriterionBondedSimple(NeighborCriterion criterion)
public void setBonded(boolean b)
public boolean isBonded()
public boolean accept(IAtom atom1, IAtom atom2)
CriterionAdapteraccept in interface NeighborCriterionaccept in class CriterionAdapter