MCPcopy Index your code
hub / github.com/CadQuery/cadquery / __init__

Method __init__

cadquery/hull.py:66–75  ·  view source on GitHub ↗
(self, c: Point, r: float, a1: float, a2: float)

Source from the content-addressed store, hash-verified

64 ac: float
65
66 def __init__(self, c: Point, r: float, a1: float, a2: float):
67
68 self.c = c
69 self.r = r
70 self.a1 = a1
71 self.a2 = a2
72
73 self.s = Point(r * cos(a1), r * sin(a1))
74 self.e = Point(r * cos(a2), r * sin(a2))
75 self.ac = 2 * pi - (a1 - a2)
76
77
78def atan2p(x, y):

Callers

nothing calls this directly

Calls 1

PointClass · 0.85

Tested by

no test coverage detected