Lines Matching refs:straight_tolerance
133 straight_tolerance = 0.0001
984 if between(alpha,0,a) or min(abs(alpha),abs(alpha-a))<straight_tolerance :
1575 return x-straight_tolerance<=c<=y+straight_tolerance or y-straight_tolerance<=c<=x+straight_tolerance
2312 tang_are_parallel = ((tsa-tea)%math.pi<straight_tolerance or math.pi-(tsa-tea)%math.pi<straight_tolerance )
2315 1-abs(TS*v/(TS.mag()*v.mag()))<straight_tolerance) ):
2359 if R1==None or R2==None or (R1-P0).mag()<straight_tolerance or (R2-P2).mag()<straight_tolerance : return [ [sp1[1],'line', 0, 0, sp2[1], [z1,z2]] ]
4875 tang_are_parallel = ((tsa-tea)%math.pi<straight_tolerance or math.pi-(tsa-tea)%math.pi<straight_tolerance )
4878 1-abs(TS*v/(TS.mag()*v.mag()))<straight_tolerance) ):
4922 if R1==None or R2==None or (R1-P0).mag()<straight_tolerance or (R2-P2).mag()<straight_tolerance : return [ [sp1[1],'line', 0, 0, sp2[1], [z1,z2]] ]