JSci.chemistry
Class CovalentBond

java.lang.Object
  extended by JSci.chemistry.Bond
      extended by JSci.chemistry.CovalentBond

public class CovalentBond
extends Bond

A covalent bond between two atoms.


Field Summary
static int DOUBLE
          Sigma and one pi bond
static int SINGLE
          Sigma bond
static int TRIPLE
          Sigma and two pi bonds
 
Fields inherited from class JSci.chemistry.Bond
atom1, atom2
 
Constructor Summary
CovalentBond(Atom a, Atom b)
          Constructs a sigma bond between two atoms.
CovalentBond(Atom a, Atom b, int bondType)
          Constructs a covalent bond between two atoms.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLE

public static final int SINGLE
Sigma bond

See Also:
Constant Field Values

DOUBLE

public static final int DOUBLE
Sigma and one pi bond

See Also:
Constant Field Values

TRIPLE

public static final int TRIPLE
Sigma and two pi bonds

See Also:
Constant Field Values
Constructor Detail

CovalentBond

public CovalentBond(Atom a,
                    Atom b)
Constructs a sigma bond between two atoms.


CovalentBond

public CovalentBond(Atom a,
                    Atom b,
                    int bondType)
Constructs a covalent bond between two atoms.

Parameters:
bondType - one of SINGLE, DOUBLE or TRIPLE.