org.jmol.util
Class JmolEdge
java.lang.Object
org.jmol.util.JmolEdge
- Direct Known Subclasses:
- Bond, SmilesBond
public abstract class JmolEdge
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BOND_STEREO_MASK
public static final int BOND_STEREO_MASK
- Extended Bond Definition Types
- See Also:
- Constant Field Values
BOND_STEREO_NEAR
public static final int BOND_STEREO_NEAR
- See Also:
- Constant Field Values
BOND_STEREO_FAR
public static final int BOND_STEREO_FAR
- See Also:
- Constant Field Values
BOND_AROMATIC_MASK
public static final int BOND_AROMATIC_MASK
- See Also:
- Constant Field Values
BOND_AROMATIC_SINGLE
public static final int BOND_AROMATIC_SINGLE
- See Also:
- Constant Field Values
BOND_AROMATIC_DOUBLE
public static final int BOND_AROMATIC_DOUBLE
- See Also:
- Constant Field Values
BOND_AROMATIC
public static final int BOND_AROMATIC
- See Also:
- Constant Field Values
BOND_SULFUR_MASK
public static final int BOND_SULFUR_MASK
- See Also:
- Constant Field Values
BOND_PARTIAL_MASK
public static final int BOND_PARTIAL_MASK
- See Also:
- Constant Field Values
BOND_PARTIAL01
public static final int BOND_PARTIAL01
- See Also:
- Constant Field Values
BOND_PARTIAL12
public static final int BOND_PARTIAL12
- See Also:
- Constant Field Values
BOND_PARTIAL23
public static final int BOND_PARTIAL23
- See Also:
- Constant Field Values
BOND_PARTIAL32
public static final int BOND_PARTIAL32
- See Also:
- Constant Field Values
BOND_COVALENT_MASK
public static final int BOND_COVALENT_MASK
- See Also:
- Constant Field Values
BOND_COVALENT_SINGLE
public static final int BOND_COVALENT_SINGLE
- See Also:
- Constant Field Values
BOND_COVALENT_DOUBLE
public static final int BOND_COVALENT_DOUBLE
- See Also:
- Constant Field Values
BOND_COVALENT_TRIPLE
public static final int BOND_COVALENT_TRIPLE
- See Also:
- Constant Field Values
BOND_COVALENT_QUADRUPLE
public static final int BOND_COVALENT_QUADRUPLE
- See Also:
- Constant Field Values
BOND_ORDER_UNSPECIFIED
public static final int BOND_ORDER_UNSPECIFIED
- See Also:
- Constant Field Values
BOND_ORDER_ANY
public static final int BOND_ORDER_ANY
- See Also:
- Constant Field Values
BOND_ORDER_NULL
public static final int BOND_ORDER_NULL
- See Also:
- Constant Field Values
BOND_NEW
public static final int BOND_NEW
- See Also:
- Constant Field Values
BOND_STRUT
public static final int BOND_STRUT
- See Also:
- Constant Field Values
BOND_HBOND_SHIFT
public static final int BOND_HBOND_SHIFT
- See Also:
- Constant Field Values
BOND_HYDROGEN_MASK
public static final int BOND_HYDROGEN_MASK
- See Also:
- Constant Field Values
BOND_H_REGULAR
public static final int BOND_H_REGULAR
- See Also:
- Constant Field Values
BOND_H_CALC_MASK
public static final int BOND_H_CALC_MASK
- See Also:
- Constant Field Values
BOND_H_CALC
public static final int BOND_H_CALC
- See Also:
- Constant Field Values
BOND_H_PLUS_2
public static final int BOND_H_PLUS_2
- See Also:
- Constant Field Values
BOND_H_PLUS_3
public static final int BOND_H_PLUS_3
- See Also:
- Constant Field Values
BOND_H_PLUS_4
public static final int BOND_H_PLUS_4
- See Also:
- Constant Field Values
BOND_H_PLUS_5
public static final int BOND_H_PLUS_5
- See Also:
- Constant Field Values
BOND_H_MINUS_3
public static final int BOND_H_MINUS_3
- See Also:
- Constant Field Values
BOND_H_MINUS_4
public static final int BOND_H_MINUS_4
- See Also:
- Constant Field Values
BOND_H_NUCLEOTIDE
public static final int BOND_H_NUCLEOTIDE
- See Also:
- Constant Field Values
argbsHbondType
public static final int[] argbsHbondType
index
public int index
order
public int order
JmolEdge
public JmolEdge()
getAtomIndex1
public abstract int getAtomIndex1()
getAtomIndex2
public abstract int getAtomIndex2()
getCovalentOrder
public abstract int getCovalentOrder()
getOtherAtom
public abstract JmolNode getOtherAtom(JmolNode atom)
isCovalent
public abstract boolean isCovalent()
isHydrogen
public abstract boolean isHydrogen()
getArgbHbondType
public static int getArgbHbondType(int order)
getBondOrderNumberFromOrder
public static final java.lang.String getBondOrderNumberFromOrder(int order)
- used for formatting labels and in the connect PARTIAL command
- Parameters:
order
-
- Returns:
- a string representation to preserve float n.m
getCmlBondOrder
public static final java.lang.String getCmlBondOrder(int order)
getBondOrderNameFromOrder
public static final java.lang.String getBondOrderNameFromOrder(int order)
getPartialBondDotted
public static final int getPartialBondDotted(int order)
getPartialBondOrder
public static final int getPartialBondOrder(int order)
getCovalentBondOrder
protected static final int getCovalentBondOrder(int order)
getBondOrderFromFloat
public static final int getBondOrderFromFloat(float fOrder)
getBondOrderFromString
public static int getBondOrderFromString(java.lang.String name)