Package org.jmol.util
Interface SimpleEdge
-
- All Known Implementing Classes:
Bond,Edge,HBond,SmilesBond
public interface SimpleEdgeminimal bond interface for SMILES and CIP
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleNodegetAtom(int i)Get the respective atom, 0 or 1intgetBondType()Get the order of the bond.intgetCovalentOrder()SimpleNodegetOtherNode(SimpleNode a)booleanisCovalent()
-
-
-
Method Detail
-
getCovalentOrder
int getCovalentOrder()
- Returns:
- the bond order 1-4 if it is covalent, or 0 if not.
-
getBondType
int getBondType()
Get the order of the bond. This could be covalent order, but also could be NEAR, FAR, etc.- Returns:
- order
-
getOtherNode
SimpleNode getOtherNode(SimpleNode a)
-
getAtom
SimpleNode getAtom(int i)
Get the respective atom, 0 or 1- Parameters:
i-- Returns:
- SimpleNode
-
isCovalent
boolean isCovalent()
-
-