main/src/georegression/metric/UtilAngle.java
public static double distanceCCW( double angA, double angB ) {
		if( angB >= angA )
			return angB-angA;
		else
			return GrlConstants.PI2 - (angA-angB);
	}
public static double distanceCCW( double angA, double angB ) {
		if( angB >= angA )
			return angB-angA;
		else
			return GrlConstants.PI2 - (angA-angB);
	}
Angular distance in radians to go from angA to angB in counter 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;