MCPcopy Create free account
hub / github.com/PageBot/PageBot / degrees

Function degrees

Lib/pagebot/toolbox/units.py:2711–2714  ·  view source on GitHub ↗
(angle)

Source from the content-addressed store, hash-verified

2709 radians = property(_get_radians)
2710
2711def degrees(angle):
2712 if isinstance(angle, Angle):
2713 angle = angle.degrees
2714 return Degrees(angle)
2715
2716class Radians(Angle):
2717 """Store the value as radians factor to math.pi, so 0.5*pi is stored in

Callers 9

getRootStyleFunction · 0.90
arcMethod · 0.90
rotateMethod · 0.90
skewMethod · 0.90
_get_angleMethod · 0.90
_set_angleMethod · 0.90
drawArrowFunction · 0.85
drawArrowMethod · 0.85
drawArrowMethod · 0.85

Calls 1

DegreesClass · 0.85

Tested by

no test coverage detected