Class GroupContact
- java.lang.Object
-
- org.biojava.nbio.structure.contact.GroupContact
-
- All Implemented Interfaces:
Serializable
public class GroupContact extends Object implements Serializable
A pair of residues that are in contact- Author:
- duarte_j
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupContact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAtomContact(AtomContact atomContact)
List<AtomContact>
getAtomContacts()
List<AtomContact>
getContactsWithinDistance(double distance)
Returns the list of atom contacts in this GroupContact that are within the given distance.double
getMinDistance()
int
getNumAtomContacts()
Pair<Group>
getPair()
void
setPair(Pair<Group> pair)
String
toString()
-
-
-
Constructor Detail
-
GroupContact
public GroupContact()
-
-
Method Detail
-
addAtomContact
public void addAtomContact(AtomContact atomContact)
-
getMinDistance
public double getMinDistance()
-
getNumAtomContacts
public int getNumAtomContacts()
-
getAtomContacts
public List<AtomContact> getAtomContacts()
-
getContactsWithinDistance
public List<AtomContact> getContactsWithinDistance(double distance)
Returns the list of atom contacts in this GroupContact that are within the given distance.- Parameters:
distance
-- Returns:
-
-