edu.sdsc.mbt.util
Class OctreeAtomItem

java.lang.Object
  extended byedu.sdsc.mbt.util.OctreeAtomItem
All Implemented Interfaces:
OctreeDataItem

public class OctreeAtomItem
extends java.lang.Object
implements OctreeDataItem

OctreeAtomItem class.

Author:
John Moreland

Constructor Summary
OctreeAtomItem(Atom atom, int index)
          Construct an OctreeAtomItem from an Atom object.
 
Method Summary
 Atom getAtom()
          Return the Atom associated with this data item.
 double[] getCoordinate()
          Return the coordinate of the Atom.
 int getIndex()
          Return the index associated with this data item.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OctreeAtomItem

public OctreeAtomItem(Atom atom,
                      int index)
Construct an OctreeAtomItem from an Atom object.

Method Detail

getCoordinate

public double[] getCoordinate()
Return the coordinate of the Atom.

Specified by:
getCoordinate in interface OctreeDataItem

getIndex

public int getIndex()
Return the index associated with this data item.

Specified by:
getIndex in interface OctreeDataItem

getAtom

public Atom getAtom()
Return the Atom associated with this data item.