public class GridCell extends Object
Constructor and Description |
---|
GridCell() |
Modifier and Type | Method and Description |
---|---|
void |
addIindex(int serial) |
void |
addJindex(int serial) |
List<AtomContact> |
getContactsToOtherCell(GridCell otherCell,
Atom[] iAtoms,
Atom[] jAtoms,
double cutoff)
Calculates all distances of atoms between this cell and the given cell returning those that are
within the given cutoff as a list of AtomContacts
|
List<AtomContact> |
getContactsWithinCell(Atom[] iAtoms,
Atom[] jAtoms,
double cutoff)
Calculates all distances of atoms within this cell returning those that are within the given cutoff
as a list of AtomContacts
|
int |
getNumIindices() |
int |
getNumJindices() |
public void addIindex(int serial)
public void addJindex(int serial)
public int getNumIindices()
public int getNumJindices()
public List<AtomContact> getContactsWithinCell(Atom[] iAtoms, Atom[] jAtoms, double cutoff)
iAtoms
- the first set of atoms to which the iIndices correspondjAtoms
- the second set of atoms to which the jIndices correspond, if null distances are within the iAtoms onlycutoff
- public List<AtomContact> getContactsToOtherCell(GridCell otherCell, Atom[] iAtoms, Atom[] jAtoms, double cutoff)
otherCell
- iAtoms
- the first set of atoms to which the iIndices correspondjAtoms
- the second set of atoms to which the jIndices correspond, if null distances are within the iAtoms onlycutoff
- Copyright © 2000–2016 BioJava. All rights reserved.