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:
  • Constructor Details

    • GroupContact

      public GroupContact()
  • Method Details

    • addAtomContact

      public void addAtomContact(AtomContact atomContact)
    • getPair

      public Pair<Group> getPair()
    • setPair

      public void setPair(Pair<Group> pair)
    • 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:
    • toString

      public String toString()
      Overrides:
      toString in class Object