MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / polar_position

Function polar_position

easygraph/functions/drawing/geometry.py:32–37  ·  view source on GitHub ↗
(r, theta, start_point)

Source from the content-addressed store, hash-verified

30
31
32def polar_position(r, theta, start_point):
33 import numpy as np
34
35 x = r * math.cos(theta)
36 y = r * math.sin(theta)
37 return np.array([x, y]) + start_point
38
39
40def rad_2_deg(rad):

Callers 1

hull_layoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected