Class AminoAromaticInteraction
- java.lang.Object
-
- io.github.WeronikaJargielo.protein_interaction_finder.AminoAromaticInteraction
-
public final class AminoAromaticInteraction extends java.lang.Object
Class representing amino-aromatic interaction.
-
-
Constructor Summary
Constructors Constructor Description AminoAromaticInteraction(AminoAcid aromaticAminoAcid, AminoAcid aminoAminoAcid, double distanceBtwCationRing, double polarAngle, double azimuthalAngle)
Instantiates new amino-aromatic interaction.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
AminoAcid
getAminoAminoAcid()
Returns amino acid of interaction participant with amino group.AminoAcid
getAromaticAminoAcid()
Returns amino acid of aromatic interaction participant.double
getAzimuthalAngle()
Returns azimuthal angle for aromatic ring and amino group representative.double
getDistanceBtwCationRing()
Returns distance between aromatic ring centroid and amino group representative.double
getPolarAngle()
Returns polar angle for aromatic ring and amino group representative.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AminoAromaticInteraction
public AminoAromaticInteraction(AminoAcid aromaticAminoAcid, AminoAcid aminoAminoAcid, double distanceBtwCationRing, double polarAngle, double azimuthalAngle)
Instantiates new amino-aromatic interaction. For parameters' full description see here.- Parameters:
aromaticAminoAcid
- Amino acid of aromatic interaction participant.aminoAminoAcid
- Amino acid of interaction participant with amino group.distanceBtwCationRing
- Distance between aromatic ring centroid and amino group representative.polarAngle
- Polar angle for aromatic ring and amino group representative.azimuthalAngle
- Azimuthal angle for aromatic ring and amino group representative.
-
-
Method Detail
-
getAromaticAminoAcid
public AminoAcid getAromaticAminoAcid()
Returns amino acid of aromatic interaction participant.- Returns:
- Amino acid of aromatic interaction participant.
-
getAminoAminoAcid
public AminoAcid getAminoAminoAcid()
Returns amino acid of interaction participant with amino group.- Returns:
- Amino acid of interaction participant with amino group.
-
getDistanceBtwCationRing
public double getDistanceBtwCationRing()
Returns distance between aromatic ring centroid and amino group representative.- Returns:
- Distance between aromatic ring centroid and amino group representative.
-
getPolarAngle
public double getPolarAngle()
Returns polar angle for aromatic ring and amino group representative.- Returns:
- Polar angle for aromatic ring and amino group representative.
- See Also:
AromaticRing.calculatePolarAngleOfAtom(Atom)
-
getAzimuthalAngle
public double getAzimuthalAngle()
Returns azimuthal angle for aromatic ring and amino group representative.- Returns:
- Azimuthal angle for aromatic ring and amino group representative.
- See Also:
AromaticRing.calculateAzimuthalAngleOfAtom(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
-
-