revolutions property

int get revolutions

The number of full revolutions encompassed by the range.

Counterclockwise revolutions will be returned as a negative number.

Implementation

int get revolutions => (q2.mks - q1.mks).toDouble() ~/ twoPi;