|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlattice
An abstract class that is extended by the various diffrent lattice types. Each type overides the setLatticePoints method to describe where the lattice points are located in the cube
| Constructor Summary | |
lattice()
|
|
| Method Summary | |
void |
clear()
clears all the atoms attatched to the lattice |
void |
drawAtoms(java.awt.Graphics g)
draws all the atoms at the relevent points on the lattice |
void |
drawLattice(java.awt.Graphics g2)
draws the lattice box |
void |
drawLatticePoints(java.awt.Graphics g)
draws all the lattice points |
void |
rotate()
Rotates the entire lattice and atom positions arround the (1,1,1) axis |
void |
setRu(reUnit r)
sets the repeating unit to be copied at each lattice point |
void |
setUpCube()
Sets up the unit cube that the lattice is based on |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public lattice()
| Method Detail |
public void setUpCube()
public void setRu(reUnit r)
public void drawLattice(java.awt.Graphics g2)
public void drawAtoms(java.awt.Graphics g)
public void drawLatticePoints(java.awt.Graphics g)
public void rotate()
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||