perpendicular_arc#

perpendicular_arc(circle, circle1, circle2, order=None)#

Return the perpendicular circular arc through the circle that starts and ends at the intersection of circle and circle1 and circle2, respectively. Circles are given as pairs (complex number representing the center, radius)

The conditions of the circular arc are thus:
  • the center z of the circle (z,r),

  • the intersection i0 of circles (z,r) and (z0,r0),

  • the intersection i1 of circles (z,r) and (z1,r1),

with the extra condition that the arc is perpendicular to all circles (z,r), (z0,r0), and (z1,r1).

Parameters:
  • circle – the main circle through which the arc is placed

  • circle1 – the 1st circle tangent to circle

  • circle2 – the 2nd circle tangent to circle

  • order – returns order of circles 1,2 in the arc (if the arcs starts at circle1, order is [1,2], else [2,1]

Returns:

circle on which the arcs lie in, angles of the circles such that the arc is the part of the circle from the 1st angle and the 2nd angle (angles are in radians)