|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.biojava.bio.structure.AtomImpl
Implementation of an Atom of a PDB file. currently the coordinates of an atom are represented by a doubl[3] array.
| Constructor Summary | |
AtomImpl()
|
|
| Method Summary | |
double[] |
getCoords()
get the coordinates as a double[3] array |
String |
getFullName()
get full name of atom e.g. |
String |
getName()
|
double |
getOccupancy()
get occupancy |
String |
getPDBline()
get the whole line |
int |
getPDBserial()
get PDB atom number |
double |
getTempFactor()
|
double |
getX()
get the X coordinate |
double |
getY()
get the Y coordinate |
double |
getZ()
get the Z coordinate |
void |
setCoords(double[] c)
the coordinates |
void |
setFullName(String s)
set full name of atom e.g. |
void |
setName(String s)
trimmed version of atom name, e.g. |
void |
setOccupancy(double occu)
set occupancy |
void |
setPDBline(String s)
store the whole line |
void |
setPDBserial(int i)
set PDB atom number |
void |
setTempFactor(double temp)
|
String |
toString()
string representation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public AtomImpl()
| Method Detail |
public void setName(String s)
setName in interface Atompublic String getName()
getName in interface Atompublic void setFullName(String s)
setFullName in interface Atompublic String getFullName()
getFullName in interface Atompublic void setPDBserial(int i)
setPDBserial in interface Atompublic int getPDBserial()
getPDBserial in interface Atompublic void setCoords(double[] c)
setCoords in interface Atompublic double[] getCoords()
getCoords in interface Atompublic double getX()
getX in interface Atompublic double getY()
getY in interface Atompublic double getZ()
getZ in interface Atompublic void setPDBline(String s)
setPDBline in interface Atompublic String getPDBline()
getPDBline in interface Atompublic String toString()
public void setOccupancy(double occu)
Atom
setOccupancy in interface Atompublic double getOccupancy()
Atom
getOccupancy in interface Atompublic void setTempFactor(double temp)
setTempFactor in interface Atompublic double getTempFactor()
getTempFactor in interface Atom
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||