MCPcopy
hub / github.com/CadQuery/cadquery / atan2p

Function atan2p

cadquery/hull.py:78–85  ·  view source on GitHub ↗
(x, y)

Source from the content-addressed store, hash-verified

76
77
78def atan2p(x, y):
79
80 rv = atan2(y, x)
81
82 if rv < 0:
83 rv = (2 * pi + rv) % (2 * pi)
84
85 return rv
86
87
88def convert_and_validate(edges: Iterable[Edge]) -> Tuple[List[Arc], List[Point]]:

Callers 5

pt_ptFunction · 0.85
pt_arcFunction · 0.85
arc_ptFunction · 0.85
arc_arcFunction · 0.85
finalize_hullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected