class
TorsionAngleTorsion angle
Contents
- Reference
Methods
- def rotate_to(self, value: AngleValue, noop_tolerance: AngleValue = Degrees(0.01)) -> None
- Perform rotation around torsion angle
- def value(self, /) -> AngleValue
- Current value
Special methods
Method documentation
def pyxmolpp2. TorsionAngle. rotate_to(self,
value: AngleValue,
noop_tolerance: AngleValue = Degrees(0.01)) -> None
Perform rotation around torsion angle
Parameters | |
---|---|
value | target value of torsion angle |
noop_tolerance | no-op tolerance to skip negligible rotations |
- Precondition:
- Must be a read-write
Note that this is O(N) operation where N is number of affected atoms