| Modifier and Type | Method and Description |
|---|---|
void |
addIindex(int serial) |
void |
addJindex(int serial) |
List<Contact> |
getContactsToOtherCell(GridCell otherCell)
Calculates all distances of atoms between this cell and the given cell returning those that are
within the given cutoff as a list of Contacts containing the indices of the pair and the calculated distance.
|
List<Contact> |
getContactsWithinCell()
Calculates all distances of atoms within this cell returning those that are within the given cutoff
as a list of Contacts containing the indices of the pair and the calculated distance.
|
int |
getNumIindices() |
int |
getNumJindices() |
boolean |
hasContactToAtom(javax.vecmath.Point3d[] iAtoms,
javax.vecmath.Point3d[] jAtoms,
javax.vecmath.Point3d query,
double cutoff)
Tests whether any atom in this cell has a contact with the specified query atom
|
String |
toString() |
public void addIindex(int serial)
public void addJindex(int serial)
public int getNumIindices()
public int getNumJindices()
public List<Contact> getContactsWithinCell()
Grid.getJAtoms() is null, distances are within the iAtoms onlypublic List<Contact> getContactsToOtherCell(GridCell otherCell)
otherCell - iAtoms - the first set of atom coordinates to which the iIndices correspondjAtoms - the second set of atom coordinates to which the jIndices correspond, if null distances are within the iAtoms onlycutoff - public boolean hasContactToAtom(javax.vecmath.Point3d[] iAtoms, javax.vecmath.Point3d[] jAtoms, javax.vecmath.Point3d query, double cutoff)
iAtoms - the first set of atoms to which the iIndices correspondjAtoms - the second set of atoms to which the jIndices correspond, or nullquery - test pointcutoff - Copyright © 2000–2018 BioJava. All rights reserved.