Modifier and Type | Field and Description |
---|---|
private AbstractAtom |
atom |
private int |
posI |
private int |
posJ |
private int |
posK |
private double |
posX |
private double |
posY |
private double |
posZ |
private int |
size |
Constructor and Description |
---|
Simple3dUc(int posI,
int posJ,
AbstractAtom atom) |
Simple3dUc(int posI,
int posJ,
int posK,
AbstractAtom atom) |
Modifier and Type | Method and Description |
---|---|
AbstractAtom |
getAtom(int pos)
Always returns the current atom.
|
Point3D |
getPos()
Cartesian position of the origin of the unit cell.
|
int |
getPosI() |
int |
getPosJ() |
void |
setPosX(double x) |
void |
setPosY(double y) |
void |
setPosZ(double z) |
int |
size()
Number of elements.
|
private final AbstractAtom atom
private final int size
private final int posI
private final int posJ
private final int posK
private double posX
private double posY
private double posZ
public Simple3dUc(int posI, int posJ, AbstractAtom atom)
public Simple3dUc(int posI, int posJ, int posK, AbstractAtom atom)
public AbstractAtom getAtom(int pos)
public Point3D getPos()
IUc
public void setPosX(double x)
public void setPosY(double y)
public void setPosZ(double z)