uk.ac.ed.simulator_pdb.model
Class PDBFile.AminoAcid
java.lang.Object
uk.ac.ed.simulator_pdb.model.PDBFile.AminoAcid
- All Implemented Interfaces:
- PDBFile.DataPoint
- Enclosing class:
- PDBFile
- public class PDBFile.AminoAcid
- extends java.lang.Object
- implements PDBFile.DataPoint
Field Summary |
protected double |
mass
|
protected javax.vecmath.Vector3d |
position
|
protected float |
radius
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
protected javax.vecmath.Vector3d position
mass
protected double mass
radius
protected float radius
PDBFile.AminoAcid
public PDBFile.AminoAcid(int amino_acid_id)
getAtoms
public PDBFile.Atom[] getAtoms()
getAminoAcidId
public int getAminoAcidId()
addAtom
public void addAtom(PDBFile.Atom atom)
getPosition
public javax.vecmath.Vector3d getPosition()
- Specified by:
getPosition
in interface PDBFile.DataPoint
setPosition
public void setPosition(javax.vecmath.Vector3d position)
getMass
public double getMass()
- Specified by:
getMass
in interface PDBFile.DataPoint
setMass
public void setMass(double mass)
getRadius
public double getRadius()
- Specified by:
getRadius
in interface PDBFile.DataPoint
setRadius
public void setRadius(float radius)