Package chemaxon.marvin.alignment
Class DihedralRotator
java.lang.Object
chemaxon.marvin.alignment.DihedralRotator
Rotates a dihedral in a 3D molecule
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DihedralRotator
creates a rotator object- Parameters:
m
- for this molecule
-
-
Method Details
-
rotateTo
Sets the dihedral defined by the atoms a1-a4 to the angle- Parameters:
angle
- in radiana1
- atom index in the molecule starting from 0a2
- atom index in the molecule starting from 0a3
- atom index in the molecule starting from 0a4
- atom index in the molecule starting from 0- Returns:
- the molecule having the requested dihedral setted.
-
rotateBy
Rotates the selected dihedral by the defined angle- Parameters:
angle
- in radiana1
- atom index in the molecule starting from 0a2
- atom index in the molecule starting from 0a3
- atom index in the molecule starting from 0a4
- atom index in the molecule starting from 0- Returns:
- the molecule having the requested dihedral setted.
-