RdcPanda
Class Hdist

java.lang.Object
  extended by RdcPanda.Hdist

public class Hdist
extends java.lang.Object

This class provides data structures related to back-computed NOE distance restraints. Written by Jianyang (Michael) Zeng (2005-2009).


Constructor Summary
Hdist()
          Instantiates a new hdist.
Hdist(Cartesian firstH)
          Instantiates a new hdist.
Hdist(Cartesian firstH, Cartesian secondH, double dis)
          Instantiates a new hdist.
Hdist(Cartesian firstH, int firstNo)
          Instantiates a new hdist.
Hdist(Cartesian firstH, int firstNo, Cartesian secondH, int secondNo)
          Instantiates a new hdist.
Hdist(Cartesian firstH, int firstNo, Cartesian secondH, int secondNo, double dis)
          Instantiates a new hdist.
Hdist(Cartesian firstH, int firstNo, java.lang.String atom1, Cartesian secondH, int secondNo, java.lang.String atom2, double dis)
          Instantiates a new hdist.
Hdist(Cartesian firstH, int firstNo, java.lang.String res1, java.lang.String atom1, Cartesian secondH, int secondNo, java.lang.String res2, java.lang.String atom2, double dis)
          Instantiates a new hdist.
 
Method Summary
 double getDistance()
          Gets the distance.
 java.lang.String getFirstAtomName()
          Gets the first atom name.
 Cartesian getFirstCart()
          Gets the first cart.
 java.lang.String getFirstResName()
          Gets the first res name.
 int getFirstResNo()
          Gets the first res no.
 java.lang.String getSecondAtomName()
          Gets the second atom name.
 Cartesian getSecondCart()
          Gets the second cart.
 java.lang.String getSecondResName()
          Gets the second res name.
 int getSecondResNo()
          Gets the second res no.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hdist

public Hdist()
Instantiates a new hdist.


Hdist

public Hdist(Cartesian firstH)
Instantiates a new hdist.

Parameters:
firstH - the first h

Hdist

public Hdist(Cartesian firstH,
             int firstNo)
Instantiates a new hdist.

Parameters:
firstH - the first h
firstNo - the first no

Hdist

public Hdist(Cartesian firstH,
             int firstNo,
             Cartesian secondH,
             int secondNo)
Instantiates a new hdist.

Parameters:
firstH - the first h
firstNo - the first no
secondH - the second h
secondNo - the second no

Hdist

public Hdist(Cartesian firstH,
             int firstNo,
             java.lang.String atom1,
             Cartesian secondH,
             int secondNo,
             java.lang.String atom2,
             double dis)
Instantiates a new hdist.

Parameters:
firstH - the first h
firstNo - the first no
atom1 - the atom1
secondH - the second h
secondNo - the second no
atom2 - the atom2
dis - the dis

Hdist

public Hdist(Cartesian firstH,
             int firstNo,
             java.lang.String res1,
             java.lang.String atom1,
             Cartesian secondH,
             int secondNo,
             java.lang.String res2,
             java.lang.String atom2,
             double dis)
Instantiates a new hdist.

Parameters:
firstH - the first h
firstNo - the first no
res1 - the res1
atom1 - the atom1
secondH - the second h
secondNo - the second no
res2 - the res2
atom2 - the atom2
dis - the dis

Hdist

public Hdist(Cartesian firstH,
             int firstNo,
             Cartesian secondH,
             int secondNo,
             double dis)
Instantiates a new hdist.

Parameters:
firstH - the first h
firstNo - the first no
secondH - the second h
secondNo - the second no
dis - the dis

Hdist

public Hdist(Cartesian firstH,
             Cartesian secondH,
             double dis)
Instantiates a new hdist.

Parameters:
firstH - the first h
secondH - the second h
dis - the dis
Method Detail

getFirstCart

public Cartesian getFirstCart()
Gets the first cart.

Returns:
the first cart

getFirstResNo

public int getFirstResNo()
Gets the first res no.

Returns:
the first res no

getSecondCart

public Cartesian getSecondCart()
Gets the second cart.

Returns:
the second cart

getSecondResNo

public int getSecondResNo()
Gets the second res no.

Returns:
the second res no

getFirstAtomName

public java.lang.String getFirstAtomName()
Gets the first atom name.

Returns:
the first atom name

getSecondAtomName

public java.lang.String getSecondAtomName()
Gets the second atom name.

Returns:
the second atom name

getDistance

public double getDistance()
Gets the distance.

Returns:
the distance

getFirstResName

public java.lang.String getFirstResName()
Gets the first res name.

Returns:
the first res name

getSecondResName

public java.lang.String getSecondResName()
Gets the second res name.

Returns:
the second res name