This class contains methods to construct an atom(sphere) .This uses IndexColorModel and CreateImage classes
which are in image package ,to create an image for a particular atom which is constructed in the
Lattice class.This class also defines a method paint() which is used to paint the image of atom
in the drawing space.
One of the three consturctors to construct an object of Atom type
by taking red , blue and green components of the color specified in the file
.In this constructor size and name fields are given a default value.
Method to find a bounding box for the model that is to
be drawn in the context of the applet.This method sets the values of
xmin,xmax,ymin,ymax,zmin,zmax.
Method to find the value of the real world coordiates of
the model .Given the miller indeces of each point as well as
each lattice constants(such as lattice parameters etc.).
The lattice parameter in x,y,z directions.It is to be noted here that the x,y,z axis may or may not
be orthogonal ,there orientation would be specified by the values of alpha,beta and
gamma that is the angle between the corresponding pairs of axes.
This class extends Applet and is for displaying several types of
symmetries present in any crystal or lattice.This uses some of the
features of the class Display .
Method to multiply this matrix by the verteces of the model
which are stored in the array of LatticePoint af[] and then store the result in the array ai[]
which again is of LatticePoint type.