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