public interface Atom extends java.lang.Cloneable, PDBRecord
getCoords(), or the
getX(), getY(), getZ() methods.
There are a few additional methods here to provide some PDB specific information.| Modifier and Type | Method and Description |
|---|---|
void |
addBond(Bond bond)
Add a bond
|
java.lang.Object |
clone()
Return an identical copy of this object .
|
java.lang.Character |
getAltLoc()
Get alternate Location.
|
java.util.List<Bond> |
getBonds()
Get all
Bonds this atom is part of. |
double[] |
getCoords()
Get the coordinates.
|
Element |
getElement()
Get element of the atom, e.g.
|
Group |
getGroup()
Return the parent Group of the Atom.
|
java.lang.String |
getName()
Get atom name, e.g.
|
double |
getOccupancy()
Get occupancy.
|
int |
getPDBserial()
Get PDB atom number.
|
double |
getTempFactor()
Get temp factor.
|
double |
getX()
Get coordinate X.
|
double |
getY()
Get coordinate Y.
|
double |
getZ()
Get coordinate Z.
|
void |
setAltLoc(java.lang.Character c)
Set alternate Location.
|
void |
setCoords(double[] c)
Set the coordinates.
|
void |
setElement(Element e)
Set element of the atom name, e.g.
|
void |
setGroup(Group parent)
Set the back-reference to its parent Group.
|
void |
setName(java.lang.String s)
Set atom name, e.g.
|
void |
setOccupancy(double occupancy)
Set occupancy.
|
void |
setPDBserial(int i)
Set PDB atom number.
|
void |
setTempFactor(double temp)
Set temp factor .
|
void |
setX(double x)
Set the X coordinate.
|
void |
setY(double y)
Set the Y coordinate.
|
void |
setZ(double z)
Set the Z coordinate.
|
void setName(java.lang.String s)
s - a trimmed String specifying the name valuegetName()java.lang.String getName()
getElement()setName(java.lang.String)void setElement(Element e)
Element.Fee - an Element enumerationgetElement()Element getElement()
Element.CasetElement(org.biojava.nbio.structure.Element)void setPDBserial(int i)
i - an int specifying the PDBserial valuegetPDBserial()int getPDBserial()
setPDBserial(int)void setCoords(double[] c)
c - an array of doubles specifying the coords valuegetCoords()double[] getCoords()
setCoords(double[])void setX(double x)
x - a doublegetX()void setY(double y)
y - a doublegetY()void setZ(double z)
z - a doublegetZ()double getX()
setX(double)double getY()
setY(double)double getZ()
setZ(double)void setAltLoc(java.lang.Character c)
c - a Character object specifying the alt loc valuegetAltLoc()java.lang.Character getAltLoc()
setAltLoc(java.lang.Character)void setOccupancy(double occupancy)
occupancy - a double specifying the occupancy valuegetOccupancy()double getOccupancy()
setOccupancy(double)void setTempFactor(double temp)
temp - a double specifying the temp factor valuegetTempFactor()double getTempFactor()
setTempFactor(double)java.lang.Object clone()
void setGroup(Group parent)
parent - the parent GroupgetGroup()Group getGroup()
setGroup(Group)void addBond(Bond bond)
bond - to be addedgetBonds()