|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectshowMol.Atom
public class Atom
Atom contains the coordinate and display properties for an atom.
| Constructor Summary | |
|---|---|
Atom()
The default constructor creates an Atom object for an unspecified element (X) located at the origin. |
|
Atom(int Z,
double xx,
double yy,
double zz)
The Atom object is created for the element identified by its atomic number at the specified location. |
|
Atom(java.lang.String sym,
double xx,
double yy,
double zz)
The Atom object is created for the element identified by its symbol at the specified location. |
|
| Method Summary | |
|---|---|
int |
getAtomicNumber()
Provides the atomic number of the atom. |
javax.media.j3d.TransformGroup |
getBallAndStickTransformGroup()
Provides the TransformGroup for the Ball and Stick representation of the atom. |
float |
getCovalentRadius()
Provides the covalent radius (in angstroms) for the atom. |
javax.vecmath.Color3f |
getCPKColor()
Provides the Color3f object for the atom's CPK color. |
javax.media.j3d.TransformGroup |
getSpaceFillingTransformGroup()
Provides the TransformGroup for the Space Filling representation of the atom. |
java.lang.String |
getSymbol()
Provides the atomic symbol for this atom |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Atom()
public Atom(java.lang.String sym,
double xx,
double yy,
double zz)
sym - symbol for the element (case insensitive)x - position along x axisy - position along y axisz - position along z axis
public Atom(int Z,
double xx,
double yy,
double zz)
Z - atomic numberx - position along x axisy - position along y axisz - position along z axis| Method Detail |
|---|
public int getAtomicNumber()
public javax.media.j3d.TransformGroup getBallAndStickTransformGroup()
public float getCovalentRadius()
public javax.vecmath.Color3f getCPKColor()
public javax.media.j3d.TransformGroup getSpaceFillingTransformGroup()
public java.lang.String getSymbol()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||