|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectRdcPanda.Cartesian
public class Cartesian
This class defines Cartesian coordinates for individual atom in protein structure. Written by Lincong Wang (2001-2005).
Constructor Summary | |
---|---|
Cartesian()
Instantiates a new cartesian. |
|
Cartesian(java.lang.String aa,
double[] c)
Instantiates a new cartesian. |
|
Cartesian(java.lang.String aa,
double X,
double Y,
double Z)
Instantiates a new cartesian. |
Method Summary | |
---|---|
java.lang.String |
getAtom()
Gets the atom name. |
double |
getX()
Gets the x. |
double[] |
getXYZ()
Gets the xYZ. |
double |
getY()
Gets the y. |
double |
getZ()
Gets the z. |
double |
measureDist(Cartesian ccA,
Cartesian ccB)
Measure distance between points in 3D. |
void |
setAtom(java.lang.String aName)
Sets the atom name. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Cartesian()
public Cartesian(java.lang.String aa, double X, double Y, double Z)
aa
- the aaX
- the xY
- the yZ
- the zpublic Cartesian(java.lang.String aa, double[] c)
aa
- the aac
- the cMethod Detail |
---|
public java.lang.String getAtom()
public double getX()
public double getY()
public double getZ()
public void setAtom(java.lang.String aName)
aName
- the new atompublic double measureDist(Cartesian ccA, Cartesian ccB)
ccA
- the cc accB
- the cc b
public double[] getXYZ()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |