double function ( double arg0 , double arg1 ) { return arg0 - TWO_PI * FastMath . floor ( ( arg0 + FastMath . PI - arg1 ) / TWO_PI ) ; }
normalize an angle in a 2 & pi wide interval around a center value . this method has three main uses : normalize an angle between 0 and 2 & pi ; : a = mathutils.normalizeangle a , fastmath.pi ; normalize an angle between - & pi ; and + & pi ; a = mathutils.normalizeangle a , 0.0 ; compute the angle between two defining angular positions : angle = mathutils.normalizeangle end , start - start ; note that due to numerical accuracy and since & pi ; can not be represented exactly , the result interval is closed , it can not be half-closed as would be more satisfactory in a purely mathematical view . concode_field_sep double TWO_PI concode_field_sep double reduce concode_elem_sep void checkFinite concode_elem_sep void checkFinite concode_elem_sep void checkNotNull concode_elem_sep void checkNotNull concode_elem_sep byte copySign concode_elem_sep short copySign concode_elem_sep int copySign concode_elem_sep long copySign concode_elem_sep int hash concode_elem_sep int hash