Package chemaxon.marvin.alignment
Class RotatableBondDetector
java.lang.Object
chemaxon.marvin.alignment.RotatableBondDetector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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.
-
Constructor Details
-
RotatableBondDetector
-
-
Method Details
-
isRotatableBond
public 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)
- Ring bonds may be rotatable also.
- The single bond in biphenyl is also rotatable.
- Single bond in acetylene, which should be rotatable, kept rigid.
- Parameters:
bond
- bondSeq in molecule- Returns:
- if rotatable or not
-