public final class RotatableBondDetector extends Object
Constructor and Description |
---|
RotatableBondDetector(Molecule m,
boolean forcedFlexible) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRotatableBond(int bond)
Not flexible if:
double, aromatic, triple bond single bond neighboring a triple like at cyanide chain end bonds amide thioamide: -C(=S)-NR2 sulphonamide R-S(=O)2-NR2 aniline N : C(aromatic)-N(sp3) aromatic amidine : C(aromatic)-C(=NH)-NH2 aromatic nitroso : C(aromatic)-N=O aromatic nitro : C(aromatic)-NO2 (although at some substituent position it may be rotatable) C(aromatic)-N(amide) flexible Warning there are three intentional but unexpected feature: Ring bonds may be rotatable also. |
public RotatableBondDetector(Molecule m, boolean forcedFlexible)
public boolean isRotatableBond(int bond)
bond
- bondSeq in molecule