| Constructor and Description |
|---|
OakAtom(int identifier,
Element element,
String atomName,
Vector3D position)
Creates a new atom with the given pdbIdentifier, element, name and position.
|
OakAtom(OakAtom atom)
This is a copy constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNeighbour(OakAtom node) |
boolean |
equals(Object o) |
Integer |
getAtomIdentifier()
Returns the atom identifier, an integer greater or equal to 1.
|
String |
getAtomName()
Returns a short atom name.
|
OakAtom |
getCopy() |
Element |
getElement()
Returns the
Element. |
Set<OakAtom> |
getNeighbours() |
Vector3D |
getPosition()
Returns the position in three dimensional space.
|
int |
hashCode() |
void |
setPosition(Vector3D position)
Sets the position in three dimensional space.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitflatToStringpublic OakAtom(int identifier,
Element element,
String atomName,
Vector3D position)
identifier - The pdbIdentifier.element - The element.atomName - The name (pdb).position - The position.public OakAtom(OakAtom atom)
atom - The atom to copy.public Integer getAtomIdentifier()
AtomgetAtomIdentifier in interface Atompublic Vector3D getPosition()
AtomgetPosition in interface Atompublic void setPosition(Vector3D position)
AtomsetPosition in interface Atomposition - The position.public Element getElement()
AtomElement.getElement in interface AtomElement.public String getAtomName()
AtomgetAtomName in interface Atompublic void addNeighbour(OakAtom node)
Copyright © 2018. All rights reserved.