showMol
Class Bond

java.lang.Object
  extended by showMol.Bond

public class Bond
extends java.lang.Object

Bond contains the coordinate and display properties for a bond, represented with a cylinder.

Version:
1.0
Author:
David N. Blauch

Constructor Summary
Bond()
          Creates a bond of length 1.0 centered at the origin.
Bond(Atom a1, Atom a2)
          Creates a bond between two atoms.
 
Method Summary
 javax.media.j3d.TransformGroup getTransformGroup()
          Provides the TransformGroup for the bond.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Bond

public Bond()
Creates a bond of length 1.0 centered at the origin.


Bond

public Bond(Atom a1,
            Atom a2)
Creates a bond between two atoms.

Method Detail

getTransformGroup

public javax.media.j3d.TransformGroup getTransformGroup()
Provides the TransformGroup for the bond.

Returns:
TransformGroup