>>>[x.to_degrees()for x in angle_list][70.47380880109125,60.0,48.81407483429036,30.336111111111112]>>> a1.to_atan2(x=1)(1,0.5851986012863108)>>> a3.to_fmt_str()'70°28′25.71″'
to_degrees() -> float
to_rad() -> float
to_atan2(x=None, y=None) -> (float, float)
to_fmt_str(fmt="xxx°xxx′xxx″", decimal=2) -> str
Judges
>>> a3.is_acute_angle()True
is_zero_angle() -> bool: 零角
is_acute_angle() -> bool: 锐角
is_right_angle() -> bool: 直角
is_obtuse_angle() -> bool: 钝角
is_straight_angle() -> bool: 平角
is_major_angle() -> bool: 优角
is_minor_angle() -> bool: 劣角
is_complementary_angle_with(other) -> bool: 余角
is_supplementary_angle_with(other) -> bool: 补角
module AngleListAPIs
APIs
>>> AngleListAPIs.from_angle_list_to_atan2_list(angle_list)[(0.3342377271245026,0.9424888019316975),(0.5000000000000001,0.8660254037844386),(0.658504607868518,0.7525766947068778),(0.8630773966838536,0.5050716853412216)]>>> AngleListAPIs.from_rad_list_to_angle_list([1.23,1.0471975511965976,0.8519663271732721,0.5294650211397243])[<PyAngle.Angle.Angle object at 0x0000028ED1910DD8>,<PyAngle.Angle.Angle object at 0x0000028ED1910E48>,<PyAngle.Angle.Angle object at 0x0000028ED1910EB8>,<PyAngle.Angle.Angle object at 0x0000028ED1910F28>]
# When needed to switch within atan2, degrees and rad, switch via angle list>>> degrees_list =[1.2,3.4,5.6,7.8,9.0]>>> atan2_list = AngleListAPIs.from_angle_list_to_atan2_list(AngleListAPIs.from_degrees_list_to_angle_list(degrees_list))>>> atan2_list
[(0.9997806834748455,0.020942419883356957),(0.9982398279237653,0.05930637357596162),(0.9952273999818312,0.09758289975914947),(0.9907478404714436,0.13571557243430438),(0.9876883405951378,0.15643446504023087)]