etomica.atom
Class AtomPositionFirstAtom

java.lang.Object
  extended by etomica.atom.AtomPositionFirstAtom
All Implemented Interfaces:
IAtomPositionDefinition, Serializable

public class AtomPositionFirstAtom
extends Object
implements IAtomPositionDefinition, Serializable

Returns the position of the first child leaf atom. Recurses to find the first child leaf atom.

See Also:
Serialized Form

Constructor Summary
AtomPositionFirstAtom()
           
 
Method Summary
 IVector position(IMolecule atom)
          Returns the defined position for the given atom, which may be an atom group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AtomPositionFirstAtom

public AtomPositionFirstAtom()
Method Detail

position

public IVector position(IMolecule atom)
Description copied from interface: IAtomPositionDefinition
Returns the defined position for the given atom, which may be an atom group.

Specified by:
position in interface IAtomPositionDefinition