Constructor and Description |
---|
Vibration(String label)
Create a vibration identified by the label.
|
Modifier and Type | Method and Description |
---|---|
void |
addAtomVector(double[] atomVector)
Adds a atom vector to the vibration.
|
double[] |
getAtomVector(int index)
Gets a atom vector at index given.
|
int |
getAtomVectorCount()
Gets the number of atom vectors in the vibration.
|
Iterator<double[]> |
getAtomVectors()
Returns an Enumeration of the atom vectors of this vibration.
|
String |
getLabel()
Gets the label identifying this vibration.
|
void |
removeAtomVectors()
Removes all atom vectors from this vibration.
|
public Vibration(String label)
label
- identification for this vibrationpublic String getLabel()
public void addAtomVector(double[] atomVector)
atomVector
- atom vector in double[3] arraypublic double[] getAtomVector(int index)
index
- number for the atom vector to be returnedpublic int getAtomVectorCount()
public Iterator<double[]> getAtomVectors()
public void removeAtomVectors()
Copyright © 2022. All rights reserved.