Lines Matching refs:pi
79 c = v_add(b, pt_on_circ(s_a, pi-a_b) ) #get point c
140 a_c = self.options.a_c*pi/180 #in rad
148 a_a = self.options.a_a*pi/180 #in rad
150 if (a_a < pi/2.0) and (s_a < s_b) and (s_a > s_b*sin(a_a) ): #this is an ambigous case
159 a_c = pi - a_a - a_b
165 if not(error) and (a_b < pi) and (a_c < pi): #check that the solution is valid, if so draw acute solution
169 if not(error) and ((a_b > pi) or (a_c > pi) or ambiguous):#we want the obtuse solution
170 a_b = pi - a_b
171 a_c = pi - a_a - a_b
177 a_a = self.options.a_a*pi/180 #in rad
178 a_b = self.options.a_b*pi/180 #in rad
180 a_c = pi - a_a - a_b
188 a_a = self.options.a_a*pi/180 #in rad
189 a_b = self.options.a_b*pi/180 #in rad
191 a_c = pi - a_a - a_b