edu.sdsc.mbt.viewables
Class AtomRadiusByCpk

java.lang.Object
  extended byedu.sdsc.mbt.viewables.AtomRadiusByCpk
All Implemented Interfaces:
AtomRadius

public class AtomRadiusByCpk
extends java.lang.Object
implements AtomRadius

This class implements the AtomRadius interface by applying a radius to the given an Atom by using the ElementRadius class.

Author:
John L. Moreland
See Also:
AtomRadius, Atom, PeriodicTable, Element,


Field Summary
static java.lang.String NAME
           
 
Method Summary
static AtomRadiusByCpk create()
          Return the singleton instance of this class.
 double getAtomRadius(Atom atom)
          Produce a radius based upon the atom element type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Method Detail

create

public static AtomRadiusByCpk create()
Return the singleton instance of this class.


getAtomRadius

public double getAtomRadius(Atom atom)
Produce a radius based upon the atom element type.

Specified by:
getAtomRadius in interface AtomRadius