# `class pdb.RamaAngle`

Available on all platforms

Torsion angle

## Instance Fields

### `var angle:Float`

torsion angle

### `var isAvailable:Bool`

is torsion angle available now?

### `function new():Void`

### `function calc(p0:Point3D, p1:Point3D, p2:Point3D, p3:Point3D):Void`

calculate torstion angle, where `p0`, `p1`, `p2`, and `p3` are the positions. Note that this function does not return torsion angle.

### `function get_angle():Float`

getter of `angle`

### `function get_isAvailable():Bool`

getter of `isAvailable`

### `function set_angle(a:Float):Float`

setter of `angle`