|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.sdsc.mbt.viewables.BondRadiusByScaledAtomRadius
public class BondRadiusByScaledAtomRadius
This class implements the BondRadius interface by applying a radius to the given Bond by using the AtomRadius class.
BondRadius,
Bond| Field Summary | |
|---|---|
static String |
NAME
|
| Method Summary | |
|---|---|
static BondRadiusByScaledAtomRadius |
create()
Return the singleton instance of this class. |
double |
getBondRadius(Bond bond)
Produce the primary radius based upon the first atom radius. |
double |
getSplitBondRadius(Bond bond)
Produce the secondary radius based upon the second atom radius. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
| Method Detail |
|---|
public static BondRadiusByScaledAtomRadius create()
public double getBondRadius(Bond bond)
getBondRadius in interface BondRadiuspublic double getSplitBondRadius(Bond bond)
getSplitBondRadius in interface BondRadius
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||