compas.geometry.intersection_circle_circle_xy

compas.geometry.intersection_circle_circle_xy(circle1, circle2)[source]

Calculates the intersection points of two circles in 2d lying in the XY plane.

Parameters
  • circle1 (tuple) – center, radius of the first circle in the xy plane.

  • circle2 (tuple) – center, radius of the second circle in the xy plane.

Returns

  • points (list of tuples) – the intersection points if there are any

  • None – if there are no intersection points