Texts: 1. Two Circles
Two circles on a Cartesian plane, A and B, are each defined by three descriptors:
• X: the x-coordinate of the circle's center
• Y: the y-coordinate of the circle's center
• R: the radius of the circle
Circles A and B will both be centered either on the X-axis (i.e. YA = 0 and YB = 0), or on the Y-axis (i.e. XA = 0 and XB = 0), but not both.
A pair of circles (A and B) will have one of the following relationship types:
• Touching: they touch each other at a single point
• Concentric: they have the same center point
• Intersecting: they intersect each other (touching at two points)
• Disjoint-Outside: disjoint with one existing outside of the other
• Disjoint-Inside: disjoint with one contained inside the other (but not concentric)
Example:
circlePairs = ['30 105 03', '01 40 15']
Each string has 6 integers that represent X, Y, and R for circle.