NeighborCriterion
public 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, unsafe
public CriterionBondedSimple(NeighborCriterion criterion)
public void setBonded(boolean b)
public boolean isBonded()
public boolean accept(IAtom atom1, IAtom atom2)
CriterionAdapter
accept
in interface NeighborCriterion
accept
in class CriterionAdapter