etomica.atom
Interface IAtomPositionDefinition
- All Known Implementing Classes:
- AtomPositionCOM, AtomPositionFirstAtom, AtomPositionGeometricCenter, AtomPositionGeometricCenterPBC
public interface IAtomPositionDefinition
Returns a vector given an atom, thereby defining the position
of the atom or atom group. Example implementations of this interface
are based on the center of mass, or on the position of the first
leaf atom in the group.
|
Method Summary |
IVector |
position(IMolecule atom)
Returns the defined position for the given atom, which
may be an atom group. |
position
IVector position(IMolecule atom)
- Returns the defined position for the given atom, which
may be an atom group.