Class SulphurAromaticInteraction
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.SulphurAromaticInteraction
-
public final class SulphurAromaticInteraction extends java.lang.Object
Class representing sulphur-aromatic interaction.
-
-
Constructor Summary
Constructors Constructor Description SulphurAromaticInteraction(AminoAcid aromaticAminoAcid, AminoAcid sulphurAminoAcid, double distanceBtwRingSulphur, double elevationAngle, double equatorialAngle)
Instantiates new sulphur-aromatic interaction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
AminoAcid
getAromaticAminoAcid()
Returns amino acid of aromatic interaction participant.double
getDistanceBtwRingSulphur()
Returns distance between aromatic ring centroid and sulphur atom.double
getElevationAngle()
Returns elevation angle for aromatic ring and sulphur atom.double
getEquatorialAngle()
Returns equatorial angle for aromatic ring and sulphur atom.AminoAcid
getSulphurAminoAcid()
Returns amino acid with sulphur atom.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
SulphurAromaticInteraction
public SulphurAromaticInteraction(AminoAcid aromaticAminoAcid, AminoAcid sulphurAminoAcid, double distanceBtwRingSulphur, double elevationAngle, double equatorialAngle)
Instantiates new sulphur-aromatic interaction. For parameters' full description see here.- Parameters:
aromaticAminoAcid
- Amino acid of aromatic interaction participant.sulphurAminoAcid
- Amino acid of interaction participant with sulphur atom.distanceBtwRingSulphur
- Distance between aromatic ring centroid and sulphur atom.elevationAngle
- Elevation angle for aromatic ring and sulphur atom.equatorialAngle
- Equatorial angle for aromatic ring and sulphur atom.
-
-
Method Detail
-
getAromaticAminoAcid
public AminoAcid getAromaticAminoAcid()
Returns amino acid of aromatic interaction participant.- Returns:
- Amino acid of aromatic interaction participant.
-
getSulphurAminoAcid
public AminoAcid getSulphurAminoAcid()
Returns amino acid with sulphur atom.- Returns:
- Amino acid with sulphur atom.
-
getDistanceBtwRingSulphur
public double getDistanceBtwRingSulphur()
Returns distance between aromatic ring centroid and sulphur atom.- Returns:
- Distance between aromatic ring centroid and sulphur atom.
-
getElevationAngle
public double getElevationAngle()
Returns elevation angle for aromatic ring and sulphur atom.- Returns:
- Elevation angle for aromatic ring and sulphur atom.
- See Also:
AromaticRing.calculateElevationAngleOfAtom(Atom)
-
getEquatorialAngle
public double getEquatorialAngle()
Returns equatorial angle for aromatic ring and sulphur atom.- Returns:
- Equatorial angle for aromatic ring and sulphur atom.
- See Also:
AromaticRing.calculateEquatorialAngleOfAtom(Atom)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-