main/src/georegression/metric/UtilAngle.java
public static double distanceCW( double angA, double angB ) {
		if( angA >= angB )
			return angA-angB;
		else
			return GrlConstants.PI2-(angB-angA);
	}
public static double distanceCW( double angA, double angB ) {
		if( angA >= angB )
			return angA-angB;
		else
			return GrlConstants.PI2-(angB-angA);
	}
Angular distance in radians to go from angA to angB in clock-wise direction.
The resulting angle will be from 0 to 2&pi;.

@param angA First angle. -pi to pi
@param angB Second angle   -pi to pi
@return An angle from 0 to 2 &pi;