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 ([plane, float] |
compas.geometry.Circle
) – Circle defined by a point, with at least XY coordinates, and a radius.circle2 ([plane, float] |
compas.geometry.Circle
) – Circle defined by a point, with at least XY coordinates, and a radius.
- Returns
tuple[[float, float, float], [float, float, float]] | None – The intersection points if there are any. If the circles are tangent to each other, the two intersection points are identical. None otherwise.