IAtomKinetic
, IAtomOriented
, IAtomOrientedKinetic
Atom
, AtomHydrogen
, AtomLeafDynamic
, AtomOriented
, AtomOrientedDynamic
, AtomOrientedQuaternion
public interface IAtom
Modifier and Type | Method | Description |
---|---|---|
int |
getIndex() |
|
int |
getLeafIndex() |
Returns the global index (within the Box) of this Atom.
|
IMolecule |
getParentGroup() |
|
Vector |
getPosition() |
|
AtomType |
getType() |
|
void |
setIndex(int index) |
Informs the IAtom of its index within the atoms of its parent molecule.
|
void |
setLeafIndex(int newGlobalIndex) |
Sets the atom's global index to the give value.
|
void |
setParent(IMolecule newParent) |
Informs the Atom that the given IMolecule is its parent.
|
int getIndex()
void setIndex(int index)
index
- the new indexint getLeafIndex()
void setLeafIndex(int newGlobalIndex)
void setParent(IMolecule newParent)
newParent
- the new parent moleculeIMolecule getParentGroup()
AtomType getType()
Vector getPosition()