public class SmilesAromatic
extends java.lang.Object
| Constructor and Description |
|---|
SmilesAromatic() |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
addNormal(V3 vTemp,
V3 vMean,
float maxDev) |
(package private) static BS |
checkAromaticDefined(JmolNode[] jmolAtoms,
BS bsAtoms)
set aromatic atoms based on predefined BOND_AROMATIC definitions
|
(package private) static void |
checkAromaticStrict(JmolNode[] jmolAtoms,
BS bsAromatic,
JmolList<java.lang.Object> v5,
JmolList<java.lang.Object> v6) |
private static void |
checkAromaticStrict2(JmolNode[] jmolAtoms,
BS bsStrict,
JmolList<java.lang.Object> v5,
JmolList<java.lang.Object> v6,
BS bsRing,
boolean is5)
uses an MMFF94 strategy for determining aromaticity for a specific ring.
|
private static boolean |
checkStandardDeviation(V3[] vNorms,
V3 vMean,
int n,
float cutoff) |
private static int |
countInternalPairs(JmolNode[] jmolAtoms,
BS bsRing,
boolean is5)
Counts the electron pairs that are internal to this ring.
|
(package private) static float |
getNormalThroughPoints(JmolNode pointA,
JmolNode pointB,
JmolNode pointC,
V3 vNorm,
V3 vAB,
V3 vAC) |
private static boolean |
isAromaticRing(BS bsAromatic,
BS bsTest,
BS bs,
int n) |
static boolean |
isFlatSp2Ring(JmolNode[] atoms,
BS bsSelected,
BS bs,
float cutoff)
3D-SEARCH aromaticity test.
|
public static final boolean isFlatSp2Ring(JmolNode[] atoms, BS bsSelected, BS bs, float cutoff)
atoms - a set of atoms with coordinate positions and associated bonds.bs - a bitset of atoms within the set of atoms, defining the ringbsSelected - must not be nullcutoff - an arbitrary value to test the standard deviation against.
0.01 is appropriate here.private static final boolean checkStandardDeviation(V3[] vNorms, V3 vMean, int n, float cutoff)
static float getNormalThroughPoints(JmolNode pointA, JmolNode pointB, JmolNode pointC, V3 vNorm, V3 vAB, V3 vAC)
static BS checkAromaticDefined(JmolNode[] jmolAtoms, BS bsAtoms)
jmolAtoms - bsAtoms - static void checkAromaticStrict(JmolNode[] jmolAtoms, BS bsAromatic, JmolList<java.lang.Object> v5, JmolList<java.lang.Object> v6)
private static void checkAromaticStrict2(JmolNode[] jmolAtoms, BS bsStrict, JmolList<java.lang.Object> v5, JmolList<java.lang.Object> v6, BS bsRing, boolean is5)
jmolAtoms - bsStrict - growing list of aromatic atomsv5 - v6 - bsRing - this ring's atomsis5 - private static int countInternalPairs(JmolNode[] jmolAtoms, BS bsRing, boolean is5)
jmolAtoms - bsRing - is5 -