Lines Matching defs:atan2
945 alpha = (atan2(end[0]-center[0],end[1]-center[1]) - atan2(start[0]-center[0],start[1]-center[1])) % math.pi2
948 alpha_start = atan2(start[0]-center[0],start[1]-center[1])
1466 def atan2(*arg):
1468 return (math.pi/2 - math.atan2(arg[0][0], arg[0][1]) ) % math.pi2
1471 return (math.pi/2 - math.atan2(arg[0],arg[1]) ) % math.pi2
1665 def angle(self): return math.atan2(self.y, self.x)
1702 a_st = (math.atan2(r.x,-r.y) - math.pi/2) % (math.pi*2)
3813 a_st = ( math.atan2(sp[0]-c[0],- (sp[1]-c[1])) - math.pi/2 ) % (math.pi*2)
3957 a = atan2(si[0][0]-s[0][0],si[0][1]-s[0][1])
3968 a1 = atan2(s[2][1]-s[0][1],-s[2][0]+s[0][0]) + math.pi
3970 a1 = atan2(-s[2][1]+s[0][1],s[2][0]-s[0][0]) + math.pi
3988 a = atan2(si[0][0]-s[0][0],si[0][1]-s[0][1]) + math.pi
5489 s=math.atan2(y-y0,x-x0) #-pi to pi
6260 a = math.atan2(n[0],n[1])
6263 a = math.atan2(n[0],n[1])