etomica.atom
Class AtomPositionFirstAtom
java.lang.Object
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
|
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 |
AtomPositionFirstAtom
public AtomPositionFirstAtom()
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