uk.ac.ed.simulator_pdb.model
Class PDBFile.AminoAcid

java.lang.Object
  extended byuk.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
           
 
Constructor Summary
PDBFile.AminoAcid(int amino_acid_id)
           
 
Method Summary
 void addAtom(PDBFile.Atom atom)
           
 int getAminoAcidId()
           
 PDBFile.Atom[] getAtoms()
           
 double getMass()
           
 javax.vecmath.Vector3d getPosition()
           
 double getRadius()
           
 void setMass(double mass)
           
 void setPosition(javax.vecmath.Vector3d position)
           
 void setRadius(float radius)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

position

protected javax.vecmath.Vector3d position

mass

protected double mass

radius

protected float radius
Constructor Detail

PDBFile.AminoAcid

public PDBFile.AminoAcid(int amino_acid_id)
Method Detail

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)