Пример #1
0
 /**
  * Constructor.
  *
  * @param atom1 - First protein atom to be connected by the virtual cross-linker.
  * @param atom2 - Second protein atom to be connected by the virtual cross-linker.
  */
 public CrossLink(final Atom atom1, final Atom atom2) {
   this(
       atom1,
       atom2,
       Math.abs(atom1.getRank() - atom2.getRank()),
       Mathematics.distance(atom1.getXYZ(), atom2.getXYZ()));
 }